frostfs-api-go/pkg/acl
Leonard Lyubich 8c70b4714e [#288] pkg/eacl: Fix conversion of slices in Record.ToV2 method
Nil slices of targets and filters of the `Record` should be converted to nil
slices in corresponding fields of API v2 message structure.

Add nil-check in `Record.ToV2` implementation. The changes fix corresponding
unit test.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-05-28 09:37:21 +03:00
..
eacl [#288] pkg/eacl: Fix conversion of slices in Record.ToV2 method 2021-05-28 09:37:21 +03:00
types.go [#199] sdk/acl: Add comments for basic ACL constants 2020-11-16 18:51:14 +03:00