[#1687] go.mod: Update neofs-sdk-go

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-08-22 14:04:00 +03:00 committed by Pavel Karpy
parent d40ed00438
commit 0720d96c9d
7 changed files with 20 additions and 43 deletions

View file

@ -408,13 +408,9 @@ func PutObject(prm PutObjectPrm) (*PutObjectRes, error) {
return nil, fmt.Errorf("write object via client: %w", err)
}
var res PutObjectRes
if !cliRes.ReadStoredObjectID(&res.id) {
return nil, errors.New("missing identifier in the response")
}
return &res, nil
return &PutObjectRes{
id: cliRes.StoredObjectID(),
}, nil
}
// SearchObjectsPrm groups parameters of SearchObjects operation.