forked from TrueCloudLab/frostfs-node
[#61] Update to latest neofs-api-go changes
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
f251645def
commit
1654df4d97
9 changed files with 33 additions and 24 deletions
|
@ -61,7 +61,7 @@ func (f *formatter) Close() (*AccessIdentifiers, error) {
|
|||
|
||||
var parID *objectSDK.ID
|
||||
|
||||
if par := f.obj.GetParent(); par != nil && par.ToV2().GetHeader() != nil {
|
||||
if par := f.obj.GetParent(); par != nil {
|
||||
rawPar := objectSDK.NewRawFromV2(par.ToV2())
|
||||
|
||||
rawPar.SetSessionToken(f.token)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue