From c15e39f890cb4a7f4bdb196c8f1735b23d29ac8d Mon Sep 17 00:00:00 2001 From: rabi Date: Mon, 22 Apr 2024 12:40:06 +0530 Subject: [PATCH] Use correct check for DNSData readyness We're using the wrong variable and dnsData is not reconciled if not ready. --- controllers/openstackdataplanenodeset_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/openstackdataplanenodeset_controller.go b/controllers/openstackdataplanenodeset_controller.go index e98e9af60..d1326ec45 100644 --- a/controllers/openstackdataplanenodeset_controller.go +++ b/controllers/openstackdataplanenodeset_controller.go @@ -240,7 +240,7 @@ func (r *OpenStackDataPlaneNodeSetReconciler) Reconcile(ctx context.Context, req err = dnsData.EnsureDNSData( ctx, helper, instance, allIPSets) - if err != nil || !isReady { + if err != nil || !dnsData.Ready { return ctrl.Result{}, err }