forked from TrueCloudLab/frostfs-node
[#1214] *: Use single Object
type in whole project
Remove `Object` and `RawObject` types from `pkg/core/object` package. Use `Object` type from NeoFS SDK Go library everywhere. Avoid using the deprecated elements. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
19ad349b27
commit
7ccd1625af
100 changed files with 847 additions and 965 deletions
|
@ -33,7 +33,7 @@ func (exec *execCtx) processNode(ctx context.Context, info client.NodeInfo) bool
|
|||
case err == nil:
|
||||
exec.status = statusOK
|
||||
exec.err = nil
|
||||
exec.collectedObject = object.NewFromSDK(obj)
|
||||
exec.collectedObject = obj
|
||||
exec.writeCollectedObject()
|
||||
case errors.Is(err, object.ErrAlreadyRemoved):
|
||||
exec.status = statusINHUMED
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue