[#1255] object: Add persistent storage usage

Use persistent storage usage in the node if it was configured so.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-03-21 17:56:56 +03:00 committed by Alex Vanin
parent 9cda3121ab
commit 90a8c52bdb
4 changed files with 57 additions and 6 deletions

View file

@ -37,7 +37,6 @@ import (
"github.com/nspcc-dev/neofs-node/pkg/services/object/acl/eacl"
trustcontroller "github.com/nspcc-dev/neofs-node/pkg/services/reputation/local/controller"
truststorage "github.com/nspcc-dev/neofs-node/pkg/services/reputation/local/storage"
tokenStorage "github.com/nspcc-dev/neofs-node/pkg/services/session/storage/temporary"
"github.com/nspcc-dev/neofs-node/pkg/services/util/response"
"github.com/nspcc-dev/neofs-node/pkg/util"
"github.com/nspcc-dev/neofs-node/pkg/util/logger"
@ -89,7 +88,7 @@ type cfg struct {
cfgNetmap cfgNetmap
privateTokenStore *tokenStorage.TokenStore
privateTokenStore sessionStorage
cfgNodeInfo cfgNodeInfo