We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85a77af commit 76e0088Copy full SHA for 76e0088
1 file changed
cmd/docker/docker.go
@@ -37,12 +37,9 @@ func (e errCtxSignalTerminated) Error() string {
37
}
38
39
func main() {
40
- ctx := context.Background()
41
- err := dockerMain(ctx)
42
-
+ err := dockerMain(context.Background())
43
if errors.As(err, &errCtxSignalTerminated{}) {
44
os.Exit(getExitCode(err))
45
- return
46
47
48
if err != nil && !errdefs.IsCancelled(err) {
0 commit comments