Skip to content

Commit

Permalink
Merge pull request #13843 from isimluk/fix-broken-cu
Browse files Browse the repository at this point in the history
Fix broken C&U collection
  • Loading branch information
gtanzillo authored Feb 10, 2017
2 parents cb46b9b + 5c9e231 commit bf31b27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/vim_performance_state.rb
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ def get_assoc(relat, mode = nil)
def capture_disk_types
if hardware
self.allocated_disk_types = hardware.disks.each_with_object({}) do |disk, res|
next if disk.size.nil?
type = disk.backing.try(:volume_type) || 'unclassified'
res[type] = (res[type] || 0) + disk.size
end
Expand Down

0 comments on commit bf31b27

Please sign in to comment.