Merge pull request #3736 from Shopify/increase-log-level
do not unnecessarily log
This commit is contained in:
commit
6386da7e6f
1 changed files with 1 additions and 1 deletions
|
@ -948,7 +948,7 @@ func (n *NGINXController) createServers(data []*ingress.Ingress,
|
|||
// special "catch all" case, Ingress with a backend but no rule
|
||||
defLoc := servers[defServerName].Locations[0]
|
||||
if defLoc.IsDefBackend && len(ing.Spec.Rules) == 0 {
|
||||
klog.Infof("Ingress %q defines a backend but no rule. Using it to configure the catch-all server %q",
|
||||
klog.V(2).Infof("Ingress %q defines a backend but no rule. Using it to configure the catch-all server %q",
|
||||
ingKey, defServerName)
|
||||
|
||||
defLoc.IsDefBackend = false
|
||||
|
|
Loading…
Reference in a new issue