frostfs-api-go/pkg/acl/eacl
Leonard Lyubich 48837bd5da [#288] pkg/eacl: Fix conversion of slices in Table.ToV2 method
Nil slice of records of the `Table` should be converted to nil slice in
corresponding field of API v2 message structure.

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

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-05-28 09:37:21 +03:00
..
enums.go [#199] sdk/eacl: Correct linter's remarks 2020-11-16 18:51:14 +03:00
enums_test.go [#139] sdk/acl: Add test coverage for EACL structures 2020-09-18 10:45:11 +03:00
filter.go [#288] pkg/eacl: Document default values set in NewFilter 2021-05-28 09:37:21 +03:00
filter_test.go [#288] pkg/eacl: Document default values set in NewFilter 2021-05-28 09:37:21 +03:00
record.go [#288] pkg/eacl: Fix conversion of slices in Record.ToV2 method 2021-05-28 09:37:21 +03:00
record_test.go [#288] pkg/eacl: Document default values set in NewRecord 2021-05-28 09:37:21 +03:00
table.go [#288] pkg/eacl: Fix conversion of slices in Table.ToV2 method 2021-05-28 09:37:21 +03:00
table_test.go [#288] pkg/eacl: Document default values set in NewTable 2021-05-28 09:37:21 +03:00
target.go [#288] pkg/eacl: Document default values set in NewTarget 2021-05-28 09:37:21 +03:00
target_test.go [#288] pkg/eacl: Document default values set in NewTarget 2021-05-28 09:37:21 +03:00