mirror of https://github.com/apache/cloudstack.git
Fixing an issue introduced with Review Request 22717
This commit is contained in:
parent
190116c94c
commit
afd48819a6
|
|
@ -550,7 +550,7 @@ public class CapacityManagerImpl extends ManagerBase implements CapacityManager,
|
|||
|
||||
if (volumes != null && volumes.size() > 0) {
|
||||
for (VolumeVO volume : volumes) {
|
||||
usedIops += volume.getMinIops();
|
||||
usedIops += volume.getMinIops() != null ? volume.getMinIops() : 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue