mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-13 21:56:38 +01:00
chore(deps): update go version to 1.18 (#1363)
Co-authored-by: nils måsén <nils@piksel.se>
This commit is contained in:
parent
964879d228
commit
e04a107694
10 changed files with 60 additions and 334 deletions
|
|
@ -454,7 +454,7 @@ func (client dockerClient) waitForExecOrTimeout(bg context.Context, ID string, e
|
|||
if err != nil {
|
||||
return false, err
|
||||
}
|
||||
if execInspect.Running == true {
|
||||
if execInspect.Running {
|
||||
time.Sleep(1 * time.Second)
|
||||
continue
|
||||
}
|
||||
|
|
@ -467,7 +467,7 @@ func (client dockerClient) waitForExecOrTimeout(bg context.Context, ID string, e
|
|||
}
|
||||
|
||||
if execInspect.ExitCode > 0 {
|
||||
return false, fmt.Errorf("Command exited with code %v %s", execInspect.ExitCode, execOutput)
|
||||
return false, fmt.Errorf("command exited with code %v %s", execInspect.ExitCode, execOutput)
|
||||
}
|
||||
break
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue