forked from TrueCloudLab/frostfs-node
[#505] morph/container: Fix setting of SetEACL arguments in wrapper
Extended ACL table and its signature were mixed up. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
6d9cc0dc60
commit
0282994f3e
1 changed files with 2 additions and 2 deletions
|
@ -81,9 +81,9 @@ func (w *Wrapper) PutEACLBinary(table, key, sig []byte) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
args := client.SetEACLArgs{}
|
args := client.SetEACLArgs{}
|
||||||
args.SetSignature(table)
|
args.SetSignature(sig)
|
||||||
args.SetPublicKey(key)
|
args.SetPublicKey(key)
|
||||||
args.SetEACL(sig)
|
args.SetEACL(table)
|
||||||
|
|
||||||
return w.client.SetEACL(args)
|
return w.client.SetEACL(args)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue