mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-2765
Dashboard is showing invalid value for storage Fixed it by using the right storage method for sending the stats command
This commit is contained in:
parent
7b0da06238
commit
68b8da0df7
|
|
@ -567,7 +567,7 @@ public class StatsCollector extends ManagerBase implements ComponentMethodInterc
|
|||
GetStorageStatsCommand command = new GetStorageStatsCommand(pool.getUuid(), pool.getPoolType(), pool.getPath());
|
||||
long poolId = pool.getId();
|
||||
try {
|
||||
Answer answer = _storageManager.sendToPool(pool.getId(), command);
|
||||
Answer answer = _storageManager.sendToPool(pool, command);
|
||||
if (answer != null && answer.getResult()) {
|
||||
storagePoolStats.put(pool.getId(), (StorageStats)answer);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue