From 42f10d0d1b29ac4954024fd6439a3c78fbc592ee Mon Sep 17 00:00:00 2001 From: liuwei Date: Fri, 9 Apr 2021 05:43:29 +0000 Subject: [PATCH] update e2e addon available type Signed-off-by: liuwei --- test/e2e/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/common.go b/test/e2e/common.go index 2703f068a..d27a41f27 100644 --- a/test/e2e/common.go +++ b/test/e2e/common.go @@ -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) }