From 97cee75da80ffe8f8859dda0fe93b1b3e5630910 Mon Sep 17 00:00:00 2001 From: Li Ning Date: Wed, 11 Nov 2020 10:58:35 +0800 Subject: [PATCH] ctr: fix the incorrect image unmount error hint Signed-off-by: Li Ning --- cmd/ctr/commands/images/unmount.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/ctr/commands/images/unmount.go b/cmd/ctr/commands/images/unmount.go index 440c0af1e..3f54f63b4 100644 --- a/cmd/ctr/commands/images/unmount.go +++ b/cmd/ctr/commands/images/unmount.go @@ -43,7 +43,7 @@ var unmountCommand = cli.Command{ target = context.Args().First() ) 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)