forked from TrueCloudLab/frostfs-node
[#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
|
@ -18,9 +18,7 @@ func (s *Service) toPrm(req *objectV2.DeleteRequest, respBody *objectV2.DeleteRe
|
|||
}
|
||||
|
||||
p := new(deletesvc.Prm)
|
||||
p.SetCommonParameters(commonPrm.
|
||||
WithKeyStorage(s.keyStorage),
|
||||
)
|
||||
p.SetCommonParameters(commonPrm)
|
||||
|
||||
body := req.GetBody()
|
||||
p.WithAddress(object.NewAddressFromV2(body.GetAddress()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue