Compare commits

...

1 Commits

Author SHA1 Message Date
eball
93ae305367 fix: handle case for system applications without configuration in provider list 2026-02-09 14:53:39 +08:00

View File

@@ -729,6 +729,12 @@ func (h *Handler) getApplicationProviderList(req *restful.Request, resp *restful
return
}
// sys app does not have app config
if am.Spec.Config == "" {
resp.WriteAsJson([]providerRegistry{})
return
}
var appConfig appcfg.ApplicationConfig
err = am.GetAppConfig(&appConfig)
if err != nil {