Skip to content

Commit

Permalink
cli: do not overwrite parsed eacl rules
Browse files Browse the repository at this point in the history
Regression from c72af12. As I have already said
in associated PR, new SDK turned out to be a counter-CLI thing.

Signed-off-by: Pavel Karpy <[email protected]>
  • Loading branch information
carpawell committed Sep 9, 2024
1 parent d214b0c commit 1f7d2f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/neofs-cli/modules/util/acl.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ func parseEACLTable(tb *eacl.Table, args []string) error {
records = append(records, record)
}

tb.SetRecords(records)
tb.SetRecords(append(tb.Records(), records...))

return nil
}
Expand Down

0 comments on commit 1f7d2f5

Please sign in to comment.