forked from TrueCloudLab/frostfs-node
[#195] object/rangehash: Add option to set logger
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
af6484e3b1
commit
cb46e4b154
2 changed files with 12 additions and 0 deletions
|
@ -328,6 +328,7 @@ func initObjectService(c *cfg) {
|
|||
rangehashsvc.WithHeadService(sHead),
|
||||
rangehashsvc.WithRangeService(sRange),
|
||||
rangehashsvc.WithWorkerPool(c.cfgObject.pool.rngHash),
|
||||
rangehashsvc.WithLogger(c.log),
|
||||
)
|
||||
|
||||
sRangeHashV2 := rangehashsvcV2.NewService(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue