forked from TrueCloudLab/frostfs-api-go
8c70b4714e
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> |
||
---|---|---|
.. | ||
enums.go | ||
enums_test.go | ||
filter.go | ||
filter_test.go | ||
record.go | ||
record_test.go | ||
table.go | ||
table_test.go | ||
target.go | ||
target_test.go |