forked from TrueCloudLab/frostfs-node
[#613] pkg/reputation: Move manager building to pkg
Move `managers` package to `pkg` since it can be reused in other packages. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
a4587dbcd4
commit
6b176e8769
2 changed files with 8 additions and 8 deletions
|
@ -68,11 +68,11 @@ func initReputationService(c *cfg) {
|
|||
LocalKey: localKey,
|
||||
}
|
||||
|
||||
managerBuilder := common.NewManagerBuilder(
|
||||
common.ManagersPrm{
|
||||
managerBuilder := reputationcommon.NewManagerBuilder(
|
||||
reputationcommon.ManagersPrm{
|
||||
NetMapSource: nmSrc,
|
||||
},
|
||||
common.WithLogger(c.log),
|
||||
reputationcommon.WithLogger(c.log),
|
||||
)
|
||||
|
||||
localRouteBuilder := localroutes.New(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue