Migrate Sirupsen to sirupsen.
This commit is contained in:
parent
c134dcd6fe
commit
fb4ba7af2b
684 changed files with 92394 additions and 33943 deletions
5
vendor/github.com/libkermit/docker/stop.go
generated
vendored
5
vendor/github.com/libkermit/docker/stop.go
generated
vendored
|
@ -14,9 +14,6 @@ func (p *Project) Stop(containerID string) error {
|
|||
// StopWithTimeout stops the container with the specified timeout.
|
||||
func (p *Project) StopWithTimeout(containerID string, timeout int) error {
|
||||
timeoutDuration := time.Duration(timeout) * time.Second
|
||||
if err := p.Client.ContainerStop(context.Background(), containerID, &timeoutDuration); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return p.Client.ContainerStop(context.Background(), containerID, &timeoutDuration)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue