forked from TrueCloudLab/frostfs-node
[#2029] cli: Fix panic caused by flag redefinition
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
ddba9180ef
commit
af54295ac6
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ var objectHashCmd = &cobra.Command{
|
||||||
|
|
||||||
func initObjectHashCmd() {
|
func initObjectHashCmd() {
|
||||||
commonflags.Init(objectHashCmd)
|
commonflags.Init(objectHashCmd)
|
||||||
initFlagSession(objectHeadCmd, "RANGEHASH")
|
initFlagSession(objectHashCmd, "RANGEHASH")
|
||||||
|
|
||||||
flags := objectHashCmd.Flags()
|
flags := objectHashCmd.Flags()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue