forked from TrueCloudLab/frostfs-node
[#1418] blobovnicza: Do not use pointers as parameters
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
281befec67
commit
021aa97965
6 changed files with 7 additions and 7 deletions
|
@ -47,7 +47,7 @@ func (p *PutPrm) SetMarshaledObject(data []byte) {
|
|||
// Returns ErrFull if blobovnicza is filled.
|
||||
//
|
||||
// Should not be called in read-only configuration.
|
||||
func (b *Blobovnicza) Put(prm *PutPrm) (*PutRes, error) {
|
||||
func (b *Blobovnicza) Put(prm PutPrm) (*PutRes, error) {
|
||||
sz := uint64(len(prm.objData))
|
||||
bucketName := bucketForSize(sz)
|
||||
key := addressKey(prm.addr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue