[#1418] blobstor: Do not use pointers as parameters

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-05-23 17:15:16 +03:00 committed by Pavel Karpy
parent 14366bbd89
commit b0c7b7851a
3 changed files with 12 additions and 9 deletions

View file

@ -55,7 +55,6 @@ func (s *Shard) Put(prm PutPrm) (*PutRes, error) {
res *blobstor.PutRes
)
// res == nil if there is no writeCache or writeCache.Put has been failed
if res, err = s.blobStor.Put(putPrm); err != nil {
return nil, fmt.Errorf("could not put object to BLOB storage: %w", err)
}