Commit e1fa270
authored
vmware: fix volume stats logic (#3473)
During volume stats calculation, if a volume has more than one disk in
the chain-info it is not used to sum the physical and virtual size
in the loop, instead any previous entry was overwritten by the last disk.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>1 parent 6a336f8 commit e1fa270
1 file changed
Lines changed: 10 additions & 2 deletions
File tree
- plugins/hypervisors/vmware/src/main/java/com/cloud/hypervisor/vmware/resource
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3612 | 3612 | | |
3613 | 3613 | | |
3614 | 3614 | | |
3615 | | - | |
3616 | | - | |
| 3615 | + | |
| 3616 | + | |
| 3617 | + | |
| 3618 | + | |
| 3619 | + | |
| 3620 | + | |
| 3621 | + | |
| 3622 | + | |
| 3623 | + | |
| 3624 | + | |
3617 | 3625 | | |
3618 | 3626 | | |
3619 | 3627 | | |
| |||
0 commit comments