File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
internal/controller/state/graph Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -420,7 +420,7 @@ func findBackendTLSPolicyForService(
420420 beTLSPolicy .IsReferenced = true
421421 if ! beTLSPolicy .Valid {
422422 //nolint:staticcheck // Capitalization required for alignment with other messages.
423- err = fmt .Errorf ("The backend TLS policy is invalid: %s" , beTLSPolicy .Conditions [0 ].Message )
423+ err = fmt .Errorf ("The BackendTLSPolicy is invalid: %s" , beTLSPolicy .Conditions [0 ].Message )
424424 } else {
425425 beTLSPolicy .Conditions = append (beTLSPolicy .Conditions , conditions .NewPolicyAccepted ())
426426 }
Original file line number Diff line number Diff line change @@ -1573,7 +1573,7 @@ func TestCreateBackend(t *testing.T) {
15731573 expectedServicePortReference : "" ,
15741574 expectedConditions : []conditions.Condition {
15751575 conditions .NewRouteBackendRefUnsupportedValue (
1576- "The backend TLS policy is invalid: Unsupported value" ,
1576+ "The BackendTLSPolicy is invalid: Unsupported value" ,
15771577 ),
15781578 },
15791579 name : "invalid policy" ,
You can’t perform that action at this time.
0 commit comments