fix: ctr images mount with snapshotter option can't get snapshotter
Signed-off-by: Qian Zhang <cosmoer@qq.com>
This commit is contained in:
parent
f8585d632a
commit
df93940fb2
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user