[#1182] neofs-cli: use `BasicACL.String()` for user output
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>remotes/fyrchik/client-cache-tx-height
parent
dd0e10d306
commit
a8d10704d5
|
@ -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 New Issue