fix(helm): improved logs

Signed-off-by: Federico Bevione <f.bevione@cognitio.it>
pull/7530/head
Federico Bevione 5 years ago
parent 077503f175
commit af0007c908

@ -189,7 +189,7 @@ func (w *waiter) serviceReady(s *corev1.Service) bool {
// Make sure the service is not explicitly set to "None" before checking the IP // Make sure the service is not explicitly set to "None" before checking the IP
if s.Spec.ClusterIP != corev1.ClusterIPNone && s.Spec.ClusterIP == "" { if s.Spec.ClusterIP != corev1.ClusterIPNone && s.Spec.ClusterIP == "" {
w.log("Service does not have IP address: %s/%s", s.GetNamespace(), s.GetName()) w.log("Service does not have cluster IP address: %s/%s", s.GetNamespace(), s.GetName())
return false return false
} }
@ -202,7 +202,7 @@ func (w *waiter) serviceReady(s *corev1.Service) bool {
} }
if s.Status.LoadBalancer.Ingress == nil { if s.Status.LoadBalancer.Ingress == nil {
w.log("Service does not have IP address: %s/%s", s.GetNamespace(), s.GetName()) w.log("Service does not have load balancer ingress IP address: %s/%s", s.GetNamespace(), s.GetName())
return false return false
} }
} }

Loading…
Cancel
Save