Skip to content

Commit

Permalink
Fixing wrong variable name
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Sevilla <[email protected]>
  • Loading branch information
rsevilla87 committed Dec 9, 2024
1 parent bd9a76f commit 4c71802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocp-metadata/ocp-metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func (meta *Metadata) GetCurrentVMICount() (int, error) {

// GetDefaultIngressDomain returns default ingress domain of the default ingress controller
func (meta *Metadata) GetDefaultIngressDomain() (string, error) {
ingressController, err := meta.dynamicClient.Resource(vmiGVR).
ingressController, err := meta.dynamicClient.Resource(routeGVR).
Namespace("openshift-ingress-operator").Get(context.TODO(), "default", metav1.GetOptions{})
if err != nil {
return "", err
Expand Down

0 comments on commit 4c71802

Please sign in to comment.