Increase log level for identical CreationTimestamp warning

This commit is contained in:
Manuel Alejandro de Brito Fontes 2019-09-18 11:59:03 -03:00
parent 87ad033483
commit 9f092a2c81
No known key found for this signature in database
GPG key ID: 786136016A8BA02A

View file

@ -780,7 +780,7 @@ func (s *k8sStore) ListIngresses(filter IngressFilterFunc) []*ingress.Ingress {
if ir.Equal(&jr) {
in := fmt.Sprintf("%v/%v", ingresses[i].Namespace, ingresses[i].Name)
jn := fmt.Sprintf("%v/%v", ingresses[j].Namespace, ingresses[j].Name)
klog.Warningf("Ingress %v and %v have identical CreationTimestamp", in, jn)
klog.V(3).Infof("Ingress %v and %v have identical CreationTimestamp", in, jn)
return in > jn
}
return ir.Before(&jr)