You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger.Warnf("Ingress %s/%s references unknown service %s and will be ignored", ing.Namespace, ing.Name, serviceRef.Name)
49
+
p.diags.Warnf(logger, "Ingress %s/%s references unknown service %s and will be ignored", ing.Namespace, ing.Name, serviceRef.Name)
43
50
returninput.Route, nil
44
51
}
45
52
46
53
varupstreams reverseproxy.UpstreamPool
47
54
ifservice.Spec.Type=="ExternalName" {
48
55
// Create a single upstream for type=ExternalName.
49
56
ifserviceRef.Port.Number==0 {
50
-
logger.Warnf("Ingress %s/%s references service %s with type=ExternalName and a named port, which is not supported, and will be ignored", ing.Namespace, ing.Name, service.Name)
57
+
p.diags.Warnf(logger, "Ingress %s/%s references service %s with type=ExternalName and a named port, which is not supported, and will be ignored", ing.Namespace, ing.Name, service.Name)
logger.Warnf("Ingress %s/%s references service %s with a named target port, which is not supported, and will be ignored", ing.Namespace, ing.Name, service.Name)
71
+
p.diags.Warnf(logger, "Ingress %s/%s references service %s with a named target port, which is not supported, and will be ignored", ing.Namespace, ing.Name, service.Name)
65
72
returninput.Route, nil
66
73
}
67
74
break
68
75
}
69
76
}
70
77
iftargetPort==0 {
71
-
logger.Warnf("Ingress %s/%s references an unknown port on service %s, and will be ignored", ing.Namespace, ing.Name, service.Name)
78
+
p.diags.Warnf(logger, "Ingress %s/%s references an unknown port on service %s, and will be ignored", ing.Namespace, ing.Name, service.Name)
0 commit comments