Merge pull request #5197 from Iceber/fix-ctr-command

cmd/ctr: fix export command
This commit is contained in:
Fu, Wei 2021-03-15 15:41:14 +08:00 committed by GitHub
commit 6b410ba41f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,7 +111,7 @@ When '--all-platforms' is given all images in a manifest list must be available.
} else { } else {
w, err = os.Create(out) w, err = os.Create(out)
if err != nil { if err != nil {
return nil return err
} }
} }
defer w.Close() defer w.Close()