[#189] sdk/netmap: Refactor Selector type

Replace alias to v2 type Selector with v2-compatible implementation.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-11-05 13:19:21 +03:00 committed by Alex Vanin
parent fd0c10b832
commit eb96fffa5c
3 changed files with 138 additions and 1 deletions

View file

@ -6,7 +6,6 @@ import (
// fixme: make types instead of aliases to v2 structures
type PlacementPolicy = netmap.PlacementPolicy
type Selector = netmap.Selector
type Replica = netmap.Replica
func PlacementPolicyToJSON(p *PlacementPolicy) ([]byte, error) {