From 7071a4a7120bc4943a84dec75ec280a5c892662e Mon Sep 17 00:00:00 2001 From: yangkaa <30614084+yangkaa@users.noreply.github.com> Date: Sun, 6 Nov 2022 18:50:55 +0800 Subject: [PATCH] fix: multi-node gateway scheduling error (#174) --- controllers/rainbondcluster_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/rainbondcluster_controller.go b/controllers/rainbondcluster_controller.go index 2ab179c0..256b47b7 100644 --- a/controllers/rainbondcluster_controller.go +++ b/controllers/rainbondcluster_controller.go @@ -149,7 +149,7 @@ func (r *RainbondClusterReconciler) Reconcile(ctx context.Context, request ctrl. return err } rc.Spec.GatewayIngressIPs = rainbondcluster.Spec.GatewayIngressIPs - rc.Spec.NodesForGateway = rainbondcluster.Spec.NodesForChaos + rc.Spec.NodesForGateway = rainbondcluster.Spec.NodesForGateway rc.Spec.NodesForChaos = rainbondcluster.Spec.NodesForChaos return r.Update(ctx, rc) }); err != nil {