forked from TrueCloudLab/frostfs-api-go
[#197] sdk/object: Rename getters of Attribute and Object types
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
67bcf6eb4d
commit
5f5e5ac5dd
7 changed files with 82 additions and 82 deletions
|
@ -180,8 +180,8 @@ func (c *Client) putObjectV2(ctx context.Context, p *PutObjectParams, opts ...Ca
|
|||
req.SetBody(body)
|
||||
|
||||
v2Addr := new(v2refs.Address)
|
||||
v2Addr.SetObjectID(p.obj.GetID().ToV2())
|
||||
v2Addr.SetContainerID(p.obj.GetContainerID().ToV2())
|
||||
v2Addr.SetObjectID(p.obj.ID().ToV2())
|
||||
v2Addr.SetContainerID(p.obj.ContainerID().ToV2())
|
||||
|
||||
// set meta header
|
||||
meta := v2MetaHeaderFromOpts(callOpts)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue