Skip to content

Commit ffbe4b4

Browse files
Merge pull request #198 from Deydra71/httpd-config
Update the route timeout webhook reference
2 parents 1482a31 + 2c0c44a commit ffbe4b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/v1beta1/barbican_webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ func (spec *BarbicanSpecCore) GetDefaultRouteAnnotations() (annotations map[stri
229229
}
230230

231231
// SetDefaultRouteAnnotations sets HAProxy timeout values for Barbican API routes
232-
func (spec *BarbicanAPITemplateCore) SetDefaultRouteAnnotations(annotations map[string]string) {
232+
func (spec *BarbicanSpecCore) SetDefaultRouteAnnotations(annotations map[string]string) {
233233
const haProxyAnno = "haproxy.router.openshift.io/timeout"
234234
// Use a custom annotation to flag when the operator has set the default HAProxy timeout
235235
// With the annotation func determines when to overwrite existing HAProxy timeout with the APITimeout

0 commit comments

Comments
 (0)