Skip to content

Commit 9cfa8d9

Browse files
authored
Merge pull request kubernetes#6811 from nic-6443/dbg-status-port
add --status-port flag to dbg
2 parents 175f97d + c775696 commit 9cfa8d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/dbg/main.go

+2
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ func main() {
108108
}
109109
rootCmd.AddCommand(confCmd)
110110

111+
rootCmd.PersistentFlags().IntVar(&nginx.StatusPort, "status-port", 10246, `Port to use for the lua HTTP endpoint configuration.`)
112+
111113
if err := rootCmd.Execute(); err != nil {
112114
fmt.Println(err)
113115
os.Exit(1)

0 commit comments

Comments
 (0)