From 9508215b636b92b13a695a412a3faf65de1e1526 Mon Sep 17 00:00:00 2001 From: kqzh <35095889+kqzh@users.noreply.github.com> Date: Mon, 18 Sep 2023 17:21:50 +0800 Subject: [PATCH] fix: typo --- apis/apps/v1alpha1/nebulacluster_common.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/apis/apps/v1alpha1/nebulacluster_common.go b/apis/apps/v1alpha1/nebulacluster_common.go index a65eb4aa..bded936e 100644 --- a/apis/apps/v1alpha1/nebulacluster_common.go +++ b/apis/apps/v1alpha1/nebulacluster_common.go @@ -470,9 +470,6 @@ func generateContainers(c NebulaClusterComponent, cm *corev1.ConfigMap) []corev1 if c.ComponentType() == GraphdComponentType && nc.IsIntraZoneReadingEnabled() { flags += " --assigned_zone=$NODE_ZONE" } - - c.GenerateContainerPorts() - if !c.IsDefaultThriftPort() { flags += " --port=" + strconv.Itoa(int(c.GetHTTPPort())) }