cmd/ctr: fix export command

Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
This commit is contained in:
Iceber Gu 2021-03-15 13:22:56 +08:00
parent e231b955dd
commit 231bbdc379
No known key found for this signature in database
GPG Key ID: F1632F7124070DD4

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()