forked from TrueCloudLab/frostfs-node
[#317] morph/client: Return complete eACL signature from contract
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
c75a828adf
commit
a89567a88d
4 changed files with 26 additions and 14 deletions
|
@ -425,10 +425,10 @@ Container ID in EACL table will be substituted with ID from the CLI.`,
|
|||
for i := 0; i < awaitTimeout; i++ {
|
||||
time.Sleep(1 * time.Second)
|
||||
|
||||
eaclSig, err := cli.GetEACLWithSignature(ctx, id, globalCallOptions()...)
|
||||
table, err := cli.GetEACL(ctx, id, globalCallOptions()...)
|
||||
if err == nil {
|
||||
// compare binary values because EACL could have been set already
|
||||
got, err := eaclSig.EACL().Marshal()
|
||||
got, err := table.Marshal()
|
||||
if err != nil {
|
||||
continue
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue