From 2a4b575ea83ec0be149866ebaa55b1be9dbd8886 Mon Sep 17 00:00:00 2001 From: Yang Le Date: Thu, 3 Dec 2020 09:33:03 +0800 Subject: [PATCH] Update comments for cluster claim controller Signed-off-by: Yang Le --- pkg/spoke/managedcluster/claim_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/spoke/managedcluster/claim_controller.go b/pkg/spoke/managedcluster/claim_controller.go index 337dd569c..53c96f571 100644 --- a/pkg/spoke/managedcluster/claim_controller.go +++ b/pkg/spoke/managedcluster/claim_controller.go @@ -66,7 +66,7 @@ func (c managedClusterClaimController) sync(ctx context.Context, syncCtx factory return fmt.Errorf("unable to get managed cluster with name %q from hub: %w", c.clusterName, err) } - // current managed cluster does not join the hub yet, do nothing. + // current managed cluster has not joined the hub yet, do nothing. if !meta.IsStatusConditionTrue(managedCluster.Status.Conditions, clusterv1.ManagedClusterConditionJoined) { syncCtx.Recorder().Eventf("ManagedClusterIsNotAccepted", "Managed cluster %q does not join the hub yet", c.clusterName) return nil