From 8f4433592557eddf6dc28ac04d7fd06ba149ab0a Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Tue, 2 Aug 2022 17:26:50 +0300 Subject: [PATCH] [#1651] cli: Fix CID setting in eACL creation Signed-off-by: Pavel Karpy --- CHANGELOG.md | 1 + cmd/neofs-cli/modules/acl/extended/create.go | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b8c97e7c..126c472b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ Changelog for NeoFS Node ### Fixed - Losing request context in eACL response checks (#1595) +- Setting CID field in `neofs-cli acl extended create` (#1650) - `neofs-ir` no longer hangs if it cannot bind to the control endpoint (#1643) - Do not require `lifetime` flag in `session create` CLI command (#1655) diff --git a/cmd/neofs-cli/modules/acl/extended/create.go b/cmd/neofs-cli/modules/acl/extended/create.go index cbee2f35f..bdb5b5e79 100644 --- a/cmd/neofs-cli/modules/acl/extended/create.go +++ b/cmd/neofs-cli/modules/acl/extended/create.go @@ -67,7 +67,6 @@ func createEACL(cmd *cobra.Command, _ []string) { var containerID cid.ID if cidArg != "" { - var containerID cid.ID if err := containerID.DecodeString(cidArg); err != nil { cmd.PrintErrf("invalid container ID: %v\n", err) os.Exit(1)