Skip to content

Commit 1f2c61a

Browse files
authoredOct 31, 2017
Merge pull request openshift#17030 from imcsk8/duplicate-timeout
Automatic merge from submit-queue. Fix duplicate timeout directive When haproxy.router.openshift.io/timeout is set the template is setting the timeout directive twice. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1503637
2 parents 6b1a836 + 285296f commit 1f2c61a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed
 

‎images/router/haproxy/conf/haproxy-config.template

-4
Original file line numberDiff line numberDiff line change
@@ -343,10 +343,6 @@ backend be_secure:{{$cfgIdx}}
343343
tcp-request content reject if !whitelist
344344
{{- end }}
345345
{{- with $value := firstMatch $timeSpecPattern (index $cfg.Annotations "haproxy.router.openshift.io/timeout")}}
346-
timeout server {{$value}}
347-
{{- end }} {{/* end balance algorithm setting. */}}
348-
349-
{{- with $value := firstMatch $timeSpecPattern (index $cfg.Annotations "haproxy.router.openshift.io/timeout") }}
350346
timeout server {{$value}}
351347
{{- end }}
352348

0 commit comments

Comments
 (0)
Please sign in to comment.