forked from TrueCloudLab/frostfs-node
[#174] Update to latest neofs-api-go changes
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
e98b77133c
commit
3de8febe57
47 changed files with 190 additions and 216 deletions
|
@ -37,7 +37,7 @@ func (h *distributedHeader) prepare(ctx context.Context, prm *Prm) error {
|
|||
}
|
||||
|
||||
// get container to store the object
|
||||
cnr, err := h.cnrSrc.Get(prm.addr.GetContainerID())
|
||||
cnr, err := h.cnrSrc.Get(prm.addr.ContainerID())
|
||||
if err != nil {
|
||||
return errors.Wrapf(err, "(%T) could not get container by ID", h)
|
||||
}
|
||||
|
@ -54,7 +54,7 @@ func (h *distributedHeader) prepare(ctx context.Context, prm *Prm) error {
|
|||
placement.SuccessAfter(1),
|
||||
|
||||
// set identifier of the processing object
|
||||
placement.ForObject(prm.addr.GetObjectID()),
|
||||
placement.ForObject(prm.addr.ObjectID()),
|
||||
)
|
||||
|
||||
// create placement builder from network map
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue