ctr: fix the incorrect image unmount error hint

Signed-off-by: Li Ning <lining@cmss.chinamobile.com>
This commit is contained in:
Li Ning 2020-11-11 10:58:35 +08:00 committed by Li Ning
parent 687fcd73ec
commit 97cee75da8

View File

@ -43,7 +43,7 @@ var unmountCommand = cli.Command{
target = context.Args().First() target = context.Args().First()
) )
if target == "" { if target == "" {
return fmt.Errorf("please provide a target path to mount to") return fmt.Errorf("please provide a target path to unmount from")
} }
client, ctx, cancel, err := commands.NewClient(context) client, ctx, cancel, err := commands.NewClient(context)