Merge pull request #4723 from lining2020/ctr-error-hint
ctr: fix the incorrect image unmount error hint
This commit is contained in:
commit
4dc698d09b
@ -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