Merge pull request #4130 from ks-ci-bot/cherry-pick-3960-to-master

[master] Fix kubesphere_app_template_count always be 0 when GetKubeSphereStats
This commit is contained in:
KubeSphere CI Bot
2021-08-25 10:04:10 +08:00
committed by GitHub
9 changed files with 35 additions and 15 deletions

View File

@@ -128,7 +128,7 @@ func New(informers informers.InformerFactory, k8sclient kubernetes.Interface, ks
events: events.NewEventsOperator(evtsClient),
lo: logging.NewLoggingOperator(loggingClient),
auditing: auditing.NewEventsOperator(auditingclient),
mo: monitoring.NewMonitoringOperator(monitoringclient, nil, k8sclient, informers, resourceGetter),
mo: monitoring.NewMonitoringOperator(monitoringclient, nil, k8sclient, informers, resourceGetter, nil),
opRelease: openpitrixRelease,
}
}