forked from TrueCloudLab/frostfs-node
[#1418] blobstor: Do not use pointers as parameters
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
14366bbd89
commit
b0c7b7851a
3 changed files with 12 additions and 9 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue