mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
CLOUDSTACK-6238: NPE in HostStatsCollector.
This commit is contained in:
parent
286974488e
commit
6a5d3e96c9
@ -343,7 +343,9 @@ public class StatsCollector extends ManagerBase implements ComponentMethodInterc
|
||||
}
|
||||
for (HostVO host : gpuEnabledHosts) {
|
||||
HashMap<String, HashMap<String, Long>> groupDetails = _resourceMgr.getGPUStatistics(host);
|
||||
_resourceMgr.updateGPUDetails(host.getId(), groupDetails);
|
||||
if (groupDetails != null) {
|
||||
_resourceMgr.updateGPUDetails(host.getId(), groupDetails);
|
||||
}
|
||||
}
|
||||
hostIds = _hostGpuGroupsDao.listHostIds();
|
||||
} catch (Throwable t) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user