Skip to content

Commit

Permalink
Maybe...
Browse files Browse the repository at this point in the history
  • Loading branch information
olliewalsh committed Dec 23, 2024
1 parent a374340 commit cbfb2df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/openstackbaremetalset_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,9 +400,9 @@ func (r *OpenStackBaremetalSetReconciler) Reconcile(ctx context.Context, req ctr
true,
)

for _, status := range ipsetStatus {
for hostname, status := range ipsetStatus {
hostStatus := ospdirectorv1beta1.SyncIPsetStatus(cond, instance.Status.BaremetalHosts, status)
instance.Status.BaremetalHosts[status.Hostname] = hostStatus
instance.Status.BaremetalHosts[hostname] = hostStatus
}

if (err != nil) || (ctrlResult != ctrl.Result{}) {
Expand Down

0 comments on commit cbfb2df

Please sign in to comment.