Fix invalid validation creating prometheus valid host values
This commit is contained in:
parent
b10b60f9ae
commit
e7236afc83
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ func (n *NGINXController) syncIngress(interface{}) error {
|
||||||
if !hosts.Has(server.Hostname) {
|
if !hosts.Has(server.Hostname) {
|
||||||
hosts.Insert(server.Hostname)
|
hosts.Insert(server.Hostname)
|
||||||
}
|
}
|
||||||
if server.Alias != "" && !hosts.Has(server.Hostname) {
|
if server.Alias != "" && !hosts.Has(server.Alias) {
|
||||||
hosts.Insert(server.Alias)
|
hosts.Insert(server.Alias)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue