Pass correct port to the stats collector
This commit is contained in:
parent
abc53ccfc5
commit
509958d807
1 changed files with 1 additions and 1 deletions
|
@ -372,7 +372,7 @@ func (n *NGINXController) OverrideFlags(flags *pflag.FlagSet) {
|
|||
}
|
||||
|
||||
flags.Set("ingress-class", ic)
|
||||
n.stats = newStatsCollector(wc, ic, n.binary, n.ports.Health)
|
||||
n.stats = newStatsCollector(wc, ic, n.binary, n.ports.Status)
|
||||
|
||||
if n.isSSLPassthroughEnabled {
|
||||
if !isPortAvailable(n.ports.SSLProxy) {
|
||||
|
|
Loading…
Reference in a new issue