Skip to content

Commit

Permalink
Fix IPSet label variable usage
Browse files Browse the repository at this point in the history
  • Loading branch information
abays committed Nov 4, 2024
1 parent 80bbaf2 commit a6123fa
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion controllers/openstackbaremetalset_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ func (r *OpenStackBaremetalSetReconciler) Reconcile(ctx context.Context, req ctr
r.Client,
instance.Namespace,
instance.Spec.Networks[0],
currentLabels,
instance.Labels,
)
if err != nil {
return ctrlResult, err
Expand Down
2 changes: 1 addition & 1 deletion controllers/openstackclient_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func (r *OpenStackClientReconciler) Reconcile(ctx context.Context, req ctrl.Requ
r.Client,
instance.Namespace,
instance.Spec.Networks[0],
currentLabels,
instance.Labels,
)
if err != nil {
return ctrlResult, err
Expand Down
2 changes: 1 addition & 1 deletion controllers/openstackcontrolplane_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ func (r *OpenStackControlPlaneReconciler) ensureVIPs(
r.Client,
instance.Namespace,
vipNetworksList[0],
currentLabels,
instance.Labels,
)
if err != nil {
return ctrlResult, err
Expand Down
2 changes: 1 addition & 1 deletion controllers/openstackipset_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func (r *OpenStackIPSetReconciler) Reconcile(ctx context.Context, req ctrl.Reque
r.Client,
instance.Namespace,
instance.Spec.Networks[0],
currentLabels,
instance.Labels,
)
if err != nil {
return ctrlResult, err
Expand Down
2 changes: 1 addition & 1 deletion controllers/openstackvmset_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ func (r *OpenStackVMSetReconciler) Reconcile(ctx context.Context, req ctrl.Reque
r.Client,
instance.Namespace,
instance.Spec.Networks[0],
currentLabels,
instance.Labels,
)
if err != nil {
return ctrlResult, err
Expand Down

0 comments on commit a6123fa

Please sign in to comment.