[#195] object/put: Add option to set logger
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
9fbfc0b5e4
commit
cf2dc37a42
2 changed files with 12 additions and 0 deletions
|
@ -257,6 +257,7 @@ func initObjectService(c *cfg) {
|
|||
),
|
||||
putsvc.WithNetworkState(c.cfgNetmap.state),
|
||||
putsvc.WithWorkerPool(c.cfgObject.pool.put),
|
||||
putsvc.WithLogger(c.log),
|
||||
)
|
||||
|
||||
sPutV2 := putsvcV2.NewService(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue