Merge pull request #4723 from lining2020/ctr-error-hint

ctr: fix the incorrect image unmount error hint
This commit is contained in:
Phil Estes 2020-11-11 09:40:49 -05:00 committed by GitHub
commit 4dc698d09b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)