[#1182] neofs-cli: use `BasicACL.String()` for user output

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
remotes/fyrchik/client-cache-tx-height
Evgenii Stratonikov 2022-02-21 12:36:12 +03:00 committed by LeL
parent dd0e10d306
commit a8d10704d5
1 changed files with 1 additions and 1 deletions

View File

@ -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)