Skip to content

Commit 3fbafaa

Browse files
Merge pull request #519 from mumesan/change_route_annotation_function_name
Change Route Annotation method name and argument for spec <JIRA: OSPRH-10958>
2 parents 6ee06c4 + 9b8bbff commit 3fbafaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/v1beta1/ironic_webhook.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ func (spec *IronicSpecCore) ValidateIronicTopology(basePath *field.Path, namespa
658658
}
659659

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

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

0 commit comments

Comments
 (0)