From ae085eace6ac2d34812724ad0a2389e6546aba14 Mon Sep 17 00:00:00 2001 From: zhaoxiangchun <1422928955@qq.com> Date: Fri, 18 Jun 2021 18:57:29 +0800 Subject: [PATCH] utomated cherry pick of #11428: feat(monitor) 3.7 add monitor resource overview --- pkg/monitor/models/monitor_resource_sync.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/monitor/models/monitor_resource_sync.go b/pkg/monitor/models/monitor_resource_sync.go index 413674b857..3b2b2f5a12 100644 --- a/pkg/monitor/models/monitor_resource_sync.go +++ b/pkg/monitor/models/monitor_resource_sync.go @@ -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: