Skip to content

Commit

Permalink
cluster claim test
Browse files Browse the repository at this point in the history
  • Loading branch information
indresh-28 committed Nov 22, 2023
1 parent a3109e3 commit e64cec2
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 @@ -179,7 +179,7 @@ func (h *ClusterClaimSyncHandler) updateManagedClusters(k8sClient *k8s.K8SClient
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 e64cec2

Please sign in to comment.