Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions api/v1beta1/ironic_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ func (spec *IronicSpecCore) ValidateIronicTopology(basePath *field.Path, namespa
}

// SetDefaultRouteAnnotations sets HAProxy timeout values of the route
func (spec *IronicAPISpec) SetDefaultRouteAnnotations(annotations map[string]string) {
func (spec *IronicSpecCore) SetDefaultRouteAnnotations(annotations map[string]string) {
const haProxyAnno = "haproxy.router.openshift.io/timeout"
// Use a custom annotation to flag when the operator has set the default HAProxy timeout
// The annotation func determines when to overwrite existing HAProxy timeout with the APITimeout
Expand All @@ -684,7 +684,7 @@ func (spec *IronicAPISpec) SetDefaultRouteAnnotations(annotations map[string]str
}

// SetDefaultRouteAnnotations sets HAProxy timeout values of the route
func (spec *IronicInspectorSpec) SetDefaultRouteAnnotations(annotations map[string]string) {
func (spec *IronicSpecCore) SetDefaultInspectorRouteAnnotations(annotations map[string]string) {
const haProxyAnno = "haproxy.router.openshift.io/timeout"
// Use a custom annotation to flag when the operator has set the default HAProxy timeout
// The annotation func determines when to overwrite existing HAProxy timeout with the APITimeout
Expand Down