ctr: fix the incorrect image unmount error hint
Signed-off-by: Li Ning <lining@cmss.chinamobile.com>
This commit is contained in:
parent
687fcd73ec
commit
97cee75da8
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user