Merge pull request #6811 from nic-6443/dbg-status-port

add --status-port flag to dbg
This commit is contained in:
Kubernetes Prow Robot 2021-01-28 04:39:08 -08:00 committed by GitHub
commit 9cfa8d9600
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)