minor cleanup
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
This commit is contained in:
parent
85a77af591
commit
76e0088b5c
@ -37,12 +37,9 @@ func (e errCtxSignalTerminated) Error() string {
|
||||
}
|
||||
|
||||
func main() {
|
||||
ctx := context.Background()
|
||||
err := dockerMain(ctx)
|
||||
|
||||
err := dockerMain(context.Background())
|
||||
if errors.As(err, &errCtxSignalTerminated{}) {
|
||||
os.Exit(getExitCode(err))
|
||||
return
|
||||
}
|
||||
|
||||
if err != nil && !errdefs.IsCancelled(err) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user