Skip to content

Commit 52eb1d3

Browse files
committed
modifying comment
1 parent 27572b6 commit 52eb1d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/cluster/ClusterServiceExtended.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ func (impl *ClusterServiceImplExtended) Update(ctx context.Context, bean *bean.C
235235

236236
}
237237

238-
// if git-ops configured, then only update cluster in ACD, otherwise ignore
238+
// if git-ops configured and ArgoCD module is installed, then only update cluster in ACD, otherwise ignore
239239
if gitOpsConfigurationStatus.IsGitOpsConfiguredAndArgoCdInstalled() {
240240

241241
cl := impl.ConvertClusterBeanObjectToCluster(bean)
@@ -322,7 +322,7 @@ func (impl *ClusterServiceImplExtended) Save(ctx context.Context, bean *bean.Clu
322322
return nil, err
323323
}
324324

325-
// if git-ops configured, then only add cluster in ACD, otherwise ignore
325+
// if git-ops configured and ArgoCD module is installed, then only add cluster in ACD, otherwise ignore
326326
if gitOpsConfigurationStatus.IsGitOpsConfiguredAndArgoCdInstalled() {
327327
//create it into argo cd as well
328328
cl := impl.ConvertClusterBeanObjectToCluster(bean)

0 commit comments

Comments
 (0)