[#195] object/put: Add option to set logger

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-11-23 14:22:32 +03:00 committed by Alex Vanin
parent 9fbfc0b5e4
commit cf2dc37a42
2 changed files with 12 additions and 0 deletions

View file

@ -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(