Skip to content

Commit

Permalink
fix: Remove check function validateInfoForConnect for DisconnectWithH…
Browse files Browse the repository at this point in the history
…elm function

Signed-off-by: Joseph Ligier <joseph.ligier@gmail.com>
  • Loading branch information
littlejo committed Jan 30, 2024
1 parent 61c9933 commit 8a8428a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions clustermesh/clustermesh.go
Original file line number Diff line number Diff line change
Expand Up @@ -2254,9 +2254,6 @@ func (k *K8sClusterMesh) DisconnectWithHelm(ctx context.Context) error {
if err != nil {
return err
}
if err = k.validateInfoForConnect(aiLocal, aiRemote); err != nil {
return err
}

// Modify the clustermesh config to remove the intended cluster if any
localHelmValues, err := removeFromClustermeshConfig(localRelease.Config, aiRemote.ClusterName)
Expand Down

0 comments on commit 8a8428a

Please sign in to comment.