forked from TrueCloudLab/frostfs-node
[#1651] cli: Fix CID setting in eACL creation
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
9a5f9d6f0e
commit
8f44335925
2 changed files with 1 additions and 1 deletions
|
@ -10,6 +10,7 @@ Changelog for NeoFS Node
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Losing request context in eACL response checks (#1595)
|
- 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)
|
- `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)
|
- Do not require `lifetime` flag in `session create` CLI command (#1655)
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,6 @@ func createEACL(cmd *cobra.Command, _ []string) {
|
||||||
|
|
||||||
var containerID cid.ID
|
var containerID cid.ID
|
||||||
if cidArg != "" {
|
if cidArg != "" {
|
||||||
var containerID cid.ID
|
|
||||||
if err := containerID.DecodeString(cidArg); err != nil {
|
if err := containerID.DecodeString(cidArg); err != nil {
|
||||||
cmd.PrintErrf("invalid container ID: %v\n", err)
|
cmd.PrintErrf("invalid container ID: %v\n", err)
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
|
|
Loading…
Reference in a new issue