forked from TrueCloudLab/frostfs-api-go
[#197] sdk/object: Rename getters of Address type
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
9f0bc50e53
commit
67bcf6eb4d
3 changed files with 11 additions and 11 deletions
|
@ -578,7 +578,7 @@ func (c *Client) getObjectHeaderV2(ctx context.Context, p *ObjectHeaderParams, o
|
|||
obj.SetHeader(hdr)
|
||||
|
||||
raw := object.NewRawFromV2(obj)
|
||||
raw.SetID(p.addr.GetObjectID())
|
||||
raw.SetID(p.addr.ObjectID())
|
||||
|
||||
// convert the object
|
||||
return raw.Object(), nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue