update e2e addon available type

Signed-off-by: liuwei <liuweixa@redhat.com>
This commit is contained in:
liuwei
2021-04-09 05:43:29 +00:00
parent 03c5a70842
commit 42f10d0d1b

View File

@@ -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)
}