From 22ea9687afd0468ebe3b8c2b209bf89fe376ef2b Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Wed, 27 Oct 2021 13:00:36 +0300 Subject: [PATCH] [#42] policy: use SDK netmap version Signed-off-by: Evgenii Stratonikov --- policy/encode.go | 2 +- policy/json.go | 2 +- policy/json_test.go | 2 +- policy/query.go | 2 +- policy/query_test.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/policy/encode.go b/policy/encode.go index e003445d..080ba7a5 100644 --- a/policy/encode.go +++ b/policy/encode.go @@ -5,7 +5,7 @@ import ( "strconv" "strings" - "github.com/nspcc-dev/neofs-api-go/pkg/netmap" + "github.com/nspcc-dev/neofs-sdk-go/netmap" ) // Encode parses data of PlacementPolicy to a string. diff --git a/policy/json.go b/policy/json.go index d53b2af6..53cb9c50 100644 --- a/policy/json.go +++ b/policy/json.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "github.com/nspcc-dev/neofs-api-go/pkg/netmap" + "github.com/nspcc-dev/neofs-sdk-go/netmap" ) type ( diff --git a/policy/json_test.go b/policy/json_test.go index ed8c1857..96ef68f2 100644 --- a/policy/json_test.go +++ b/policy/json_test.go @@ -3,7 +3,7 @@ package policy import ( "testing" - "github.com/nspcc-dev/neofs-api-go/pkg/netmap" + "github.com/nspcc-dev/neofs-sdk-go/netmap" "github.com/stretchr/testify/require" ) diff --git a/policy/query.go b/policy/query.go index 9688d13f..d291758a 100644 --- a/policy/query.go +++ b/policy/query.go @@ -7,7 +7,7 @@ import ( "strings" "github.com/antlr/antlr4/runtime/Go/antlr" - "github.com/nspcc-dev/neofs-api-go/pkg/netmap" + "github.com/nspcc-dev/neofs-sdk-go/netmap" "github.com/nspcc-dev/neofs-sdk-go/policy/parser" ) diff --git a/policy/query_test.go b/policy/query_test.go index eea51c45..92fb8a6e 100644 --- a/policy/query_test.go +++ b/policy/query_test.go @@ -6,7 +6,7 @@ import ( "math" "testing" - "github.com/nspcc-dev/neofs-api-go/pkg/netmap" + "github.com/nspcc-dev/neofs-sdk-go/netmap" "github.com/stretchr/testify/require" )