Skip to content

Commit

Permalink
Fixes disk size misreporting for some disks
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenBW committed Mar 21, 2018
1 parent a3593b8 commit 7bccb79
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -231,7 +231,7 @@ function ComponentController ($state, $stateParams, VmsService, lodash, EventNot
})

vm.diskUsage = response.disks.map((item) => {
const totalSize = item.size || response.allocated_disk_storage || 0
const totalSize = item.size || 0
const used = item.size_on_disk || 0

return Object.assign(
Expand Down

0 comments on commit 7bccb79

Please sign in to comment.