From 12de67b9eb3a8b9732f515a5ccf60691f84cecf3 Mon Sep 17 00:00:00 2001 From: "jinle.xjl" Date: Mon, 25 Sep 2023 20:41:18 +0800 Subject: [PATCH] fix --- .../internal/controller/moduledeployment_controller.go | 1 - 1 file changed, 1 deletion(-) diff --git a/module-controller/internal/controller/moduledeployment_controller.go b/module-controller/internal/controller/moduledeployment_controller.go index 2ee3a64ef..2963aa58a 100644 --- a/module-controller/internal/controller/moduledeployment_controller.go +++ b/module-controller/internal/controller/moduledeployment_controller.go @@ -392,7 +392,6 @@ func (r *ModuleDeploymentReconciler) generateModuleReplicas(moduleDeployment *mo }, Spec: moduledeploymentv1alpha1.ModuleReplicaSetSpec{ Selector: *deployment.Spec.Selector, - Replicas: moduleDeployment.Spec.Replicas, Template: moduleDeployment.Spec.Template, OperationStrategy: moduleDeployment.Spec.OperationStrategy, SchedulingStrategy: moduleDeployment.Spec.SchedulingStrategy,