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
09a59fef56
commit
f48b1de54b
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