We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4c45f5c + db147f0 commit cdeb386Copy full SHA for cdeb386
pkg/webhook/server.go
@@ -78,7 +78,7 @@ func (s *Server) setDefaults() {
78
s.WebhookMux = http.NewServeMux()
79
}
80
81
- if s.Port < 0 {
+ if s.Port <= 0 {
82
s.Port = DefaultPort
83
84
0 commit comments