From ff52cf58ba4035c4c8ecdbfa4d2babf1459b413f Mon Sep 17 00:00:00 2001 From: zhaohuiweixiao Date: Tue, 13 Jun 2023 10:36:03 +0800 Subject: [PATCH] Fix: can not get the APISchema when registry is not version registry (#6066) Signed-off-by: zhaohuihui --- pkg/addon/helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/addon/helper.go b/pkg/addon/helper.go index 91576ea52..b65da5327 100644 --- a/pkg/addon/helper.go +++ b/pkg/addon/helper.go @@ -254,7 +254,7 @@ func FindAddonPackagesDetailFromRegistry(ctx context.Context, k8sClient client.C if !ok { continue } - uiData, err := r.GetUIData(&sourceMeta, CLIMetaOptions) + uiData, err := r.GetUIData(&sourceMeta, UIMetaOptions) if err != nil { continue }