mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-05-20 16:14:23 +00:00
update e2e addon available type
Signed-off-by: liuwei <liuweixa@redhat.com>
This commit is contained in:
@@ -564,7 +564,7 @@ func (t *Tester) CheckManagedClusterAddOnStatus(managedClusterNamespace, addOnNa
|
||||
return fmt.Errorf("there is no conditions in addon %v/%v", managedClusterNamespace, addOnName)
|
||||
}
|
||||
|
||||
if !meta.IsStatusConditionTrue(addOn.Status.Conditions, "ManagedClusterAddOnConditionAvailable") {
|
||||
if !meta.IsStatusConditionTrue(addOn.Status.Conditions, "Available") {
|
||||
return fmt.Errorf("The addon %v/%v available condition is not true", managedClusterNamespace, addOnName)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user