Skip to content

Commit

Permalink
Merge pull request #1104 from abays/fix_ipset_label_var
Browse files Browse the repository at this point in the history
Fix IPSet label variable usage in AddOSNetConfigRefLabel context
  • Loading branch information
openshift-merge-bot[bot] authored Nov 5, 2024
2 parents 80bbaf2 + a6123fa commit 676522d
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 676522d

Please sign in to comment.