We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 144b68c commit 3303086Copy full SHA for 3303086
internal/dag/httpproxy_processor.go
@@ -1013,7 +1013,7 @@ func (p *HTTPProxyProcessor) computeRoutes(
1013
MaxRequestsPerConnection: p.MaxRequestsPerConnection,
1014
PerConnectionBufferLimitBytes: p.PerConnectionBufferLimitBytes,
1015
}
1016
- if service.Mirror && len(r.MirrorPolicies) != 0 {
+ if service.Mirror && len(r.MirrorPolicies) > 0 {
1017
validCond.AddError(contour_api_v1.ConditionTypeServiceError, "OnlyOneMirror",
1018
"only one service per route may be nominated as mirror")
1019
return nil
0 commit comments