[#197] sdk/object: Rename getters of Address type

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-11-16 11:42:19 +03:00 committed by Alex Vanin
parent 9f0bc50e53
commit 67bcf6eb4d
3 changed files with 11 additions and 11 deletions

View file

@ -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