[#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:
Leonard Lyubich 2020-11-05 13:02:31 +03:00 committed by Alex Vanin
parent 8c1afc6bab
commit fd0c10b832
3 changed files with 162 additions and 1 deletions

View file

@ -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) {