mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-05-09 02:37:03 +00:00
Update comments for cluster claim controller
Signed-off-by: Yang Le <yangle@redhat.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user