From e02280401f9cc0c3cc4696afd1e8d0656db400c7 Mon Sep 17 00:00:00 2001 From: killianmuldoon Date: Tue, 28 Feb 2023 18:55:37 +0000 Subject: [PATCH] Clarify condition message for unreconciled clusterclass --- internal/controllers/topology/cluster/conditions.go | 2 +- internal/controllers/topology/cluster/conditions_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/controllers/topology/cluster/conditions.go b/internal/controllers/topology/cluster/conditions.go index 407057c9824a..c66e3cbc6579 100644 --- a/internal/controllers/topology/cluster/conditions.go +++ b/internal/controllers/topology/cluster/conditions.go @@ -69,7 +69,7 @@ func (r *Reconciler) reconcileTopologyReconciledCondition(s *scope.Scope, cluste clusterv1.TopologyReconciledCondition, clusterv1.TopologyReconciledClusterClassNotReconciledReason, clusterv1.ConditionSeverityInfo, - "ClusterClass is outdated. If this condition persists please check ClusterClass status.", + "ClusterClass not reconciled. If this condition persists please check ClusterClass status.", ), ) return nil diff --git a/internal/controllers/topology/cluster/conditions_test.go b/internal/controllers/topology/cluster/conditions_test.go index f15fc8ba0c4b..caf6e6378132 100644 --- a/internal/controllers/topology/cluster/conditions_test.go +++ b/internal/controllers/topology/cluster/conditions_test.go @@ -69,7 +69,7 @@ func TestReconcileTopologyReconciledCondition(t *testing.T) { }, wantConditionStatus: corev1.ConditionFalse, wantConditionReason: clusterv1.TopologyReconciledClusterClassNotReconciledReason, - wantConditionMessage: "ClusterClass is outdated. If this condition persists please check ClusterClass status.", + wantConditionMessage: "ClusterClass not reconciled. If this condition persists please check ClusterClass status.", wantErr: false, }, {