utomated cherry pick of #11428: feat(monitor) 3.7 add monitor resource overview

This commit is contained in:
zhaoxiangchun
2021-06-18 18:57:29 +08:00
parent 629a3c55fd
commit ae085eace6
@@ -183,8 +183,6 @@ func GetOnecloudResources(resTyep string) ([]jsonutils.JSONObject, error) {
allResources, err = ListAllResources(&mc_mds.Hosts, query)
case monitor.METRIC_RES_TYPE_GUEST:
allResources, err = ListAllResources(&mc_mds.Servers, query)
case monitor.METRIC_RES_TYPE_AGENT:
allResources, err = ListAllResources(&mc_mds.Servers, query)
case monitor.METRIC_RES_TYPE_RDS:
allResources, err = ListAllResources(&mc_mds.DBInstance, query)
case monitor.METRIC_RES_TYPE_REDIS: