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 e003445..080ba7a 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 d53b2af..53cb9c5 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 ed8c185..96ef68f 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 9688d13..d291758 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 eea51c4..92fb8a6 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" )