From 02d3945de2280ad2083b94364d461a9294242975 Mon Sep 17 00:00:00 2001 From: Sudhanshu Ranjan Date: Tue, 14 May 2024 10:37:08 +0530 Subject: [PATCH] Update controllers/rack.go Co-authored-by: Abhisek Dwivedi --- controllers/rack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/rack.go b/controllers/rack.go index 849afb636..6a717dec1 100644 --- a/controllers/rack.go +++ b/controllers/rack.go @@ -1797,7 +1797,7 @@ func (r *SingleClusterReconciler) getPodsWithUpdatedConfigForRack(rackState *Rac requiredConfHash := confMap.Data[aerospikeConfHashFileName] - securityEnabledPods := make([]corev1.Pod, 0, len(r.aeroCluster.Status.Pods)) + securityEnabledPods := make([]corev1.Pod, 0, len(pods)) for idx := range pods { podName := pods[idx].Name