forked from TrueCloudLab/frostfs-node
[#83] services: Remove setting of meta header from executing services
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
3065a7363b
commit
19f9c7eacb
7 changed files with 6 additions and 39 deletions
|
@ -2,7 +2,6 @@ package main
|
|||
|
||||
import (
|
||||
accountingGRPC "github.com/nspcc-dev/neofs-api-go/v2/accounting/grpc"
|
||||
"github.com/nspcc-dev/neofs-api-go/v2/session"
|
||||
"github.com/nspcc-dev/neofs-node/pkg/morph/client"
|
||||
"github.com/nspcc-dev/neofs-node/pkg/morph/client/balance"
|
||||
"github.com/nspcc-dev/neofs-node/pkg/morph/client/balance/wrapper"
|
||||
|
@ -36,7 +35,6 @@ func initAccountingService(c *cfg) {
|
|||
accountingService.NewResponseService(
|
||||
accountingService.NewExecutionService(
|
||||
accounting.NewExecutor(balanceMorphWrapper),
|
||||
new(session.ResponseMetaHeader),
|
||||
),
|
||||
c.respSvc,
|
||||
),
|
||||
|
|
|
@ -2,7 +2,6 @@ package main
|
|||
|
||||
import (
|
||||
containerGRPC "github.com/nspcc-dev/neofs-api-go/v2/container/grpc"
|
||||
"github.com/nspcc-dev/neofs-api-go/v2/session"
|
||||
"github.com/nspcc-dev/neofs-node/pkg/morph/client"
|
||||
"github.com/nspcc-dev/neofs-node/pkg/morph/client/container"
|
||||
"github.com/nspcc-dev/neofs-node/pkg/morph/client/container/wrapper"
|
||||
|
@ -35,7 +34,6 @@ func initContainerService(c *cfg) {
|
|||
containerService.NewResponseService(
|
||||
containerService.NewExecutionService(
|
||||
containerMorph.NewExecutor(cnrClient),
|
||||
new(session.ResponseMetaHeader),
|
||||
),
|
||||
c.respSvc,
|
||||
),
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"github.com/nspcc-dev/neofs-api-go/v2/session"
|
||||
sessionGRPC "github.com/nspcc-dev/neofs-api-go/v2/session/grpc"
|
||||
sessionTransportGRPC "github.com/nspcc-dev/neofs-node/pkg/network/transport/session/grpc"
|
||||
sessionSvc "github.com/nspcc-dev/neofs-node/pkg/services/session"
|
||||
|
@ -18,7 +17,6 @@ func initSessionService(c *cfg) {
|
|||
sessionSvc.NewResponseService(
|
||||
sessionSvc.NewExecutionService(
|
||||
c.privateTokenStore,
|
||||
new(session.ResponseMetaHeader),
|
||||
),
|
||||
c.respSvc,
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue