From 0282994f3ef8278d3e4733ee7e053db3e4d93e43 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Tue, 25 May 2021 17:34:16 +0300 Subject: [PATCH] [#505] morph/container: Fix setting of SetEACL arguments in wrapper Extended ACL table and its signature were mixed up. Signed-off-by: Leonard Lyubich --- pkg/morph/client/container/wrapper/eacl.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/morph/client/container/wrapper/eacl.go b/pkg/morph/client/container/wrapper/eacl.go index e63702eb7..36f9b5887 100644 --- a/pkg/morph/client/container/wrapper/eacl.go +++ b/pkg/morph/client/container/wrapper/eacl.go @@ -81,9 +81,9 @@ func (w *Wrapper) PutEACLBinary(table, key, sig []byte) error { } args := client.SetEACLArgs{} - args.SetSignature(table) + args.SetSignature(sig) args.SetPublicKey(key) - args.SetEACL(sig) + args.SetEACL(table) return w.client.SetEACL(args) }