mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Fix logic check error for update GPU groupDetails (#6405)
This commit is contained in:
parent
c123c3fd2f
commit
1ead6c1bac
@ -692,7 +692,7 @@ public class StatsCollector extends ManagerBase implements ComponentMethodInterc
|
||||
}
|
||||
for (HostVO host : gpuEnabledHosts) {
|
||||
HashMap<String, HashMap<String, VgpuTypesInfo>> groupDetails = _resourceMgr.getGPUStatistics(host);
|
||||
if (MapUtils.isEmpty(groupDetails)) {
|
||||
if (!MapUtils.isEmpty(groupDetails)) {
|
||||
_resourceMgr.updateGPUDetails(host.getId(), groupDetails);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user