Merge pull request #3736 from Shopify/increase-log-level

do not unnecessarily log
This commit is contained in:
Kubernetes Prow Robot 2019-02-06 19:24:50 -08:00 committed by GitHub
commit 6386da7e6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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