forked from TrueCloudLab/frostfs-node
[#195] object/search: Add option to set logger
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
cb46e4b154
commit
6a5c37d592
2 changed files with 12 additions and 0 deletions
|
@ -272,6 +272,7 @@ func initObjectService(c *cfg) {
|
|||
searchsvc.WithNetworkMapSource(c.cfgObject.netMapStorage),
|
||||
searchsvc.WithLocalAddressSource(c),
|
||||
searchsvc.WithWorkerPool(c.cfgObject.pool.search),
|
||||
searchsvc.WithLogger(c.log),
|
||||
)
|
||||
|
||||
sSearchV2 := searchsvcV2.NewService(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue