forked from TrueCloudLab/frostfs-node
[#886] cli: Fix API flags
Bind API cobra flags(`ttl' and xhdr') to the Viper. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
6b1e6456ab
commit
4615ff1392
5 changed files with 11 additions and 2 deletions
|
@ -83,6 +83,7 @@ var containerCmd = &cobra.Command{
|
|||
// bind exactly that cmd's flags to
|
||||
// the viper before execution
|
||||
bindCommonFlags(cmd)
|
||||
bindAPIFlags(cmd)
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue