diff --git a/cmd/ctr/commands/images/mount.go b/cmd/ctr/commands/images/mount.go index a907ad596..12e1733fc 100644 --- a/cmd/ctr/commands/images/mount.go +++ b/cmd/ctr/commands/images/mount.go @@ -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 }