From af54295ac6a8b39f078239a300bc9086b0de9c04 Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Fri, 11 Nov 2022 16:53:34 +0300 Subject: [PATCH] [#2029] cli: Fix panic caused by flag redefinition Signed-off-by: Pavel Karpy --- cmd/neofs-cli/modules/object/hash.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/neofs-cli/modules/object/hash.go b/cmd/neofs-cli/modules/object/hash.go index 6abda6cbb..3695d0d30 100644 --- a/cmd/neofs-cli/modules/object/hash.go +++ b/cmd/neofs-cli/modules/object/hash.go @@ -32,7 +32,7 @@ var objectHashCmd = &cobra.Command{ func initObjectHashCmd() { commonflags.Init(objectHashCmd) - initFlagSession(objectHeadCmd, "RANGEHASH") + initFlagSession(objectHashCmd, "RANGEHASH") flags := objectHashCmd.Flags()