forked from TrueCloudLab/frostfs-node
[#1518] Upgrade NeoFS SDK Go with changed subnet
package
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
f602d05b0a
commit
2e4a1cb6df
12 changed files with 32 additions and 90 deletions
|
@ -247,12 +247,7 @@ func checkSubnet(subCli *morphsubnet.Client, cnr *containerSDK.Container) error
|
|||
return nil
|
||||
}
|
||||
|
||||
rawSubID, err := subID.Marshal()
|
||||
if err != nil {
|
||||
return fmt.Errorf("could not marshal container subnetwork: %w", err)
|
||||
}
|
||||
|
||||
prm.SetID(rawSubID)
|
||||
prm.SetID(subID.Marshal())
|
||||
prm.SetClient(owner.WalletBytes())
|
||||
|
||||
res, err := subCli.UserAllowed(prm)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue