Merge pull request #106 from skeeey/enable-addon-manager

update e2e addon available type
This commit is contained in:
OpenShift Merge Robot
2021-04-09 04:47:02 -04:00
committed by GitHub

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