forked from TrueCloudLab/frostfs-api-go
[#189] sdk/netmap: Refactor Filter type
Replace alias to v2 type Filter with v2-compatible implementation. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
8c1afc6bab
commit
fd0c10b832
3 changed files with 162 additions and 1 deletions
|
@ -7,7 +7,6 @@ import (
|
|||
// fixme: make types instead of aliases to v2 structures
|
||||
type PlacementPolicy = netmap.PlacementPolicy
|
||||
type Selector = netmap.Selector
|
||||
type Filter = netmap.Filter
|
||||
type Replica = netmap.Replica
|
||||
|
||||
func PlacementPolicyToJSON(p *PlacementPolicy) ([]byte, error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue