[#186] policer: Use new storage engine for work

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-11-19 11:22:43 +03:00 committed by Alex Vanin
parent 1b867e53d7
commit aa9eb2eaf2
2 changed files with 5 additions and 5 deletions

View file

@ -5,7 +5,7 @@ import (
"time"
"github.com/nspcc-dev/neofs-node/pkg/core/container"
"github.com/nspcc-dev/neofs-node/pkg/local_object_storage/localstore"
"github.com/nspcc-dev/neofs-node/pkg/local_object_storage/engine"
"github.com/nspcc-dev/neofs-node/pkg/network"
headsvc "github.com/nspcc-dev/neofs-node/pkg/services/object/head"
"github.com/nspcc-dev/neofs-node/pkg/services/object_manager/placement"
@ -108,7 +108,7 @@ func WithLogger(v *logger.Logger) Option {
}
// WithLocalStorage returns option to set local object storage of Policer.
func WithLocalStorage(v *localstore.Storage) Option {
func WithLocalStorage(v *engine.StorageEngine) Option {
return func(c *cfg) {
c.jobQueue.localStorage = v
}