Skip to content

Commit 68b8da0

Browse files
committed
CLOUDSTACK-2765
Dashboard is showing invalid value for storage Fixed it by using the right storage method for sending the stats command
1 parent 7b0da06 commit 68b8da0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎server/src/com/cloud/server/StatsCollector.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ public void run() {
567567
GetStorageStatsCommand command = new GetStorageStatsCommand(pool.getUuid(), pool.getPoolType(), pool.getPath());
568568
long poolId = pool.getId();
569569
try {
570-
Answer answer = _storageManager.sendToPool(pool.getId(), command);
570+
Answer answer = _storageManager.sendToPool(pool, command);
571571
if (answer != null && answer.getResult()) {
572572
storagePoolStats.put(pool.getId(), (StorageStats)answer);
573573

0 commit comments

Comments
 (0)