Merge pull request #14590 from zexi/automated-cherry-pick-of-#14589-upstream-master

Automated cherry pick of #14589: fix(monitor): no metrics of baremetal server
This commit is contained in:
Zexi Li
2022-07-08 09:36:22 +08:00
committed by GitHub
+1 -1
View File
@@ -162,7 +162,7 @@ func (s Servers) NeedSync() bool {
}
func (s Servers) ModelFilter() []string {
return []string{"hypervisor.notin(baremetal,container)"}
return []string{"hypervisor.notin(container)"}
}
func (h Hosts) AddModel(i db.IModel) {