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
errs=append(errs, field.Forbidden(path.Index(i).Child("tls").Child("certificateRefs"), fmt.Sprintln("should be set and not empty when TLSModeType is Terminate")))
107
+
}
108
+
}
109
+
}
110
+
returnerrs
111
+
}
112
+
113
+
114
+
// validateHostnameProtocolPort validates listener protocols or ports
errs=append(errs, field.Forbidden(path.Index(i).Child("hostname"), fmt.Sprintf("Protocol and Port should not all be empty for the same Hostname: %s", targetHostname)))
127
+
returnerrs
128
+
}
129
+
iflen(listener.Protocol) !=0 {
130
+
ifprotocolSlice, ok:=hostnameProtocolMap[targetHostname]; ok {
0 commit comments