[#943] service/object: Remove KeyStore from CommonPrm
There is no point to pass key storage in parameters because it can be defined on the service level of application. Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
c30aa20b04
commit
fbed86da2c
9 changed files with 40 additions and 40 deletions
|
@ -300,6 +300,7 @@ func initObjectService(c *cfg) {
|
|||
),
|
||||
),
|
||||
searchsvc.WithNetMapSource(c.cfgNetmap.wrapper),
|
||||
searchsvc.WithKeyStorage(keyStorage),
|
||||
)
|
||||
|
||||
sSearchV2 := searchsvcV2.NewService(
|
||||
|
@ -317,6 +318,7 @@ func initObjectService(c *cfg) {
|
|||
),
|
||||
),
|
||||
getsvc.WithNetMapSource(c.cfgNetmap.wrapper),
|
||||
getsvc.WithKeyStorage(keyStorage),
|
||||
)
|
||||
|
||||
sGetV2 := getsvcV2.NewService(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue