forked from TrueCloudLab/frostfs-node
[#203] cli: Fix error message
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
68a2f36636
commit
e21c5bea21
1 changed files with 2 additions and 2 deletions
|
@ -77,8 +77,8 @@ Only owner of the container has a permission to remove container.`,
|
||||||
|
|
||||||
if len(res.IDList()) != 0 {
|
if len(res.IDList()) != 0 {
|
||||||
commonCmd.ExitOnErr(cmd, "",
|
commonCmd.ExitOnErr(cmd, "",
|
||||||
fmt.Errorf("Container wasn't removed because LOCK objects were found.\n"+
|
fmt.Errorf("container wasn't removed because LOCK objects were found, "+
|
||||||
"Use --%s flag to remove anyway.", commonflags.ForceFlag))
|
"use --%s flag to remove anyway", commonflags.ForceFlag))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue