Skip to content

Commit

Permalink
Update addon available condition message (#239)
Browse files Browse the repository at this point in the history
Signed-off-by: zhujian <[email protected]>
  • Loading branch information
zhujian7 authored Feb 5, 2024
1 parent 41083d1 commit 13fbb62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func (s *healthCheckSyncer) probeAddonStatusByWorks(
Type: addonapiv1alpha1.ManagedClusterAddOnConditionAvailable,
Status: metav1.ConditionTrue,
Reason: addonapiv1alpha1.AddonAvailableReasonProbeAvailable,
Message: "Addon is available",
Message: fmt.Sprintf("%s add-on is available.", addon.Name),
})
return nil
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ func TestHealthCheckReconcile(t *testing.T) {
Type: addonapiv1alpha1.ManagedClusterAddOnConditionAvailable,
Status: metav1.ConditionTrue,
Reason: addonapiv1alpha1.AddonAvailableReasonProbeAvailable,
Message: "Addon is available",
Message: "test add-on is available.",
},
},

Expand Down Expand Up @@ -527,7 +527,7 @@ func TestHealthCheckReconcile(t *testing.T) {
Type: addonapiv1alpha1.ManagedClusterAddOnConditionAvailable,
Status: metav1.ConditionTrue,
Reason: addonapiv1alpha1.AddonAvailableReasonProbeAvailable,
Message: "Addon is available",
Message: "test add-on is available.",
},
},
}
Expand Down

0 comments on commit 13fbb62

Please sign in to comment.