From 969af596b4522f46a3ab3f884c31aa2dce883c39 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Fri, 30 Apr 2021 10:47:37 +0300 Subject: [PATCH] [#431] object/search: Remove no longer used unexported methods Signed-off-by: Leonard Lyubich --- pkg/services/object/search/exec.go | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/pkg/services/object/search/exec.go b/pkg/services/object/search/exec.go index 3b376f833..226d5139b 100644 --- a/pkg/services/object/search/exec.go +++ b/pkg/services/object/search/exec.go @@ -2,13 +2,10 @@ package searchsvc import ( "context" - "crypto/ecdsa" - "github.com/nspcc-dev/neofs-api-go/pkg/client" "github.com/nspcc-dev/neofs-api-go/pkg/container" objectSDK "github.com/nspcc-dev/neofs-api-go/pkg/object" "github.com/nspcc-dev/neofs-node/pkg/network" - "github.com/nspcc-dev/neofs-node/pkg/services/object/util" "github.com/nspcc-dev/neofs-node/pkg/services/object_manager/placement" "github.com/nspcc-dev/neofs-node/pkg/util/logger" "go.uber.org/zap" @@ -62,21 +59,6 @@ func (exec execCtx) isLocal() bool { return exec.prm.common.LocalOnly() } -func (exec execCtx) key() *ecdsa.PrivateKey { - return exec.prm.common.PrivateKey() -} - -func (exec execCtx) callOptions() []client.CallOption { - return exec.prm.common.RemoteCallOptions( - util.WithNetmapEpoch(exec.curProcEpoch), - util.WithKey(exec.key()), - ) -} - -func (exec execCtx) remotePrm() *client.SearchObjectParams { - return &exec.prm.SearchObjectParams -} - func (exec *execCtx) containerID() *container.ID { return exec.prm.ContainerID() }