Skip to content

Commit 76e0088

Browse files
committed
minor cleanup
Signed-off-by: Laura Brehm <[email protected]>
1 parent 85a77af commit 76e0088

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

cmd/docker/docker.go

+1-4
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,9 @@ func (e errCtxSignalTerminated) Error() string {
3737
}
3838

3939
func main() {
40-
ctx := context.Background()
41-
err := dockerMain(ctx)
42-
40+
err := dockerMain(context.Background())
4341
if errors.As(err, &errCtxSignalTerminated{}) {
4442
os.Exit(getExitCode(err))
45-
return
4643
}
4744

4845
if err != nil && !errdefs.IsCancelled(err) {

0 commit comments

Comments
 (0)