File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
internal/controller/state/conditions Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -33,10 +33,6 @@ const (
33
33
// Route rules has a backendRef with an unsupported value.
34
34
RouteReasonBackendRefUnsupportedValue v1.RouteConditionReason = "UnsupportedValue"
35
35
36
- // RouteReasonBackendRefUnsupportedProtocol is used with the "ResolvedRefs" condition when one of the
37
- // Route rules has a backendRef with an unsupported protocol.
38
- RouteReasonBackendRefUnsupportedProtocol v1.RouteConditionReason = "UnsupportedProtocol"
39
-
40
36
// RouteReasonInvalidGateway is used with the "Accepted" (false) condition when the Gateway the Route
41
37
// references is invalid.
42
38
RouteReasonInvalidGateway v1.RouteConditionReason = "InvalidGateway"
@@ -433,7 +429,7 @@ func NewRouteBackendRefUnsupportedProtocol(msg string) Condition {
433
429
return Condition {
434
430
Type : string (v1 .RouteConditionResolvedRefs ),
435
431
Status : metav1 .ConditionFalse ,
436
- Reason : string (RouteReasonBackendRefUnsupportedProtocol ),
432
+ Reason : string (v1 . RouteReasonUnsupportedProtocol ),
437
433
Message : msg ,
438
434
}
439
435
}
You can’t perform that action at this time.
0 commit comments