frostfs-api-go/pkg/storagegroup
Pavel Karpy 934cf8ecc8 [#302] pkg/storagegroup: Convert nil StorageGroup to nil message
Document that `StorageGroup.ToV2` method return `nil`
when called on `nil`. Document that `NewFromV2`
function return `nil` when called on `nil`. Write
corresponding unit tests.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-06-09 17:23:35 +03:00
..
test [#293] pkg/storagegroup: Implement and use generator of StorageGroup 2021-06-08 18:59:15 +03:00
storagegroup.go [#302] pkg/storagegroup: Convert nil StorageGroup to nil message 2021-06-09 17:23:35 +03:00
storagegroup_test.go [#302] pkg/storagegroup: Convert nil StorageGroup to nil message 2021-06-09 17:23:35 +03:00