[#1182] neofs-cli: use BasicACL.String()
for user output
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
dd0e10d306
commit
a8d10704d5
1 changed files with 1 additions and 1 deletions
|
@ -842,7 +842,7 @@ func printJSONMarshaler(cmd *cobra.Command, j json.Marshaler, entity string) {
|
|||
}
|
||||
|
||||
func prettyPrintBasicACL(cmd *cobra.Command, basicACL acl.BasicACL) {
|
||||
cmd.Printf("basic ACL: %.8x", basicACL)
|
||||
cmd.Printf("basic ACL: %s", basicACL)
|
||||
for k, v := range wellKnownBasicACL {
|
||||
if v == basicACL {
|
||||
cmd.Printf(" (%s)\n", k)
|
||||
|
|
Loading…
Reference in a new issue