mirror of
https://github.com/containerd/containerd.git
synced 2026-08-09 01:21:15 +00:00
snapshotter.Mounts() maybe get empty Options for different snapshot service. Empty Options will produce invalid mount command from printMounts: ``` $ ctr -n flintlock snapshot --snapshotter devmapper mount /mnt flintlock/flintlock/demo-2/01K24ZRN9EFAVQVNGXQS26BYVG/root mount -t ext4 /dev/mapper/fc-dev-thinpool-snap-19 /mnt -o $ cmd=$(ctr -n flintlock snapshot --snapshotter devmapper mount /mnt flintlock/flintlock/demo-2/01K24ZRN9EFAVQVNGXQS26BYVG/root) $ $cmd mount: option requires an argument -- 'o' Try 'mount --help' for more information. ``` Signed-off-by: Chenyang Yan <memory.yancy@gmail.com>