Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
indresh-28 committed Nov 22, 2023
1 parent a19fc4e commit 533ef29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capten/agent/internal/crossplane/cluster_claims.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func (h *ClusterClaimSyncHandler) updateManagedClusters(clusterCliams []model.Cl
managedCluster.ClusterDeployStatus = clusterObj.ClusterDeployStatus
}

if status.Status == readyStatusValue {
if status.Status != readyStatusValue {
secretName := fmt.Sprintf(clusterSecretName, clusterCliam.Spec.Id)
resp, err := k8sclient.GetSecretData(clusterCliam.Metadata.Namespace, secretName)
if err != nil {
Expand Down

0 comments on commit 533ef29

Please sign in to comment.