Merge pull request #852 from gianrubio/patch-3
Don't expose certificate metrics for default server
This commit is contained in:
commit
1c47c72b86
1 changed files with 3 additions and 1 deletions
|
@ -75,7 +75,9 @@ func incReloadErrorCount() {
|
|||
func setSSLExpireTime(servers []*ingress.Server) {
|
||||
|
||||
for _, s := range servers {
|
||||
if s.Hostname != defServerName {
|
||||
sslExpireTime.WithLabelValues(s.Hostname).Set(float64(s.SSLExpireTime.Unix()))
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue