forked from TrueCloudLab/frostfs-sdk-go
[#77] client: Do not change eACL version in SetEACL
Client must not change version of the eACL table to be saved. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
e2c740ae8d
commit
df6a622c20
1 changed files with 0 additions and 1 deletions
|
@ -370,7 +370,6 @@ func (c *clientImpl) SetEACL(ctx context.Context, eacl *eacl.Table, opts ...Call
|
||||||
|
|
||||||
reqBody := new(v2container.SetExtendedACLRequestBody)
|
reqBody := new(v2container.SetExtendedACLRequestBody)
|
||||||
reqBody.SetEACL(eacl.ToV2())
|
reqBody.SetEACL(eacl.ToV2())
|
||||||
reqBody.GetEACL().SetVersion(version.Current().ToV2())
|
|
||||||
|
|
||||||
signWrapper := v2signature.StableMarshalerWrapper{SM: reqBody.GetEACL()}
|
signWrapper := v2signature.StableMarshalerWrapper{SM: reqBody.GetEACL()}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue