File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -340,7 +340,7 @@ func createPortConflictResolver() listenerConflictResolver {
340
340
portProtocolOwner := make (map [v1beta1.PortNumber ]v1beta1.ProtocolType )
341
341
listenersByPort := make (map [v1beta1.PortNumber ][]* Listener )
342
342
343
- format := "Multiple listeners for the same port %d specify different protocols; " +
343
+ format := "Multiple listeners for the same port %d specify incompatible protocols; " +
344
344
"ensure only one protocol per port"
345
345
346
346
return func (l * Listener ) {
Original file line number Diff line number Diff line change @@ -253,10 +253,10 @@ func TestBuildGateway(t *testing.T) {
253
253
"with an alphanumeric character (e.g. 'example.com', regex used for validation is " +
254
254
`'[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')`
255
255
256
- conflict80PortMsg = "Multiple listeners for the same port 80 specify different protocols; " +
256
+ conflict80PortMsg = "Multiple listeners for the same port 80 specify incompatible protocols; " +
257
257
"ensure only one protocol per port"
258
258
259
- conflict443PortMsg = "Multiple listeners for the same port 443 specify different protocols; " +
259
+ conflict443PortMsg = "Multiple listeners for the same port 443 specify incompatible protocols; " +
260
260
"ensure only one protocol per port"
261
261
262
262
secretPath = "/etc/nginx/secrets/test_secret"
You can’t perform that action at this time.
0 commit comments