Skip to content

Commit 4dc698d

Browse files
authored
Merge pull request containerd#4723 from lining2020/ctr-error-hint
ctr: fix the incorrect image unmount error hint
2 parents 1309384 + 97cee75 commit 4dc698d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/ctr/commands/images/unmount.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ var unmountCommand = cli.Command{
4343
target = context.Args().First()
4444
)
4545
if target == "" {
46-
return fmt.Errorf("please provide a target path to mount to")
46+
return fmt.Errorf("please provide a target path to unmount from")
4747
}
4848

4949
client, ctx, cancel, err := commands.NewClient(context)

0 commit comments

Comments
 (0)