Merge pull request #6811 from nic-6443/dbg-status-port
add --status-port flag to dbg
This commit is contained in:
commit
9cfa8d9600
1 changed files with 2 additions and 0 deletions
|
@ -108,6 +108,8 @@ func main() {
|
|||
}
|
||||
rootCmd.AddCommand(confCmd)
|
||||
|
||||
rootCmd.PersistentFlags().IntVar(&nginx.StatusPort, "status-port", 10246, `Port to use for the lua HTTP endpoint configuration.`)
|
||||
|
||||
if err := rootCmd.Execute(); err != nil {
|
||||
fmt.Println(err)
|
||||
os.Exit(1)
|
||||
|
|
Loading…
Reference in a new issue