Merge pull request #6713 from cosmoer/fix-ctr-images-mount-command

fix: ctr images mount with snapshotter option can't get snapshotter
This commit is contained in:
Fu Wei
2022-03-25 07:37:04 +08:00
committed by GitHub

View File

@@ -67,7 +67,7 @@ When you are done, use the unmount command.
}
defer cancel()
snapshotter := context.GlobalString("snapshotter")
snapshotter := context.String("snapshotter")
if snapshotter == "" {
snapshotter = containerd.DefaultSnapshotter
}