Skip to content

Commit

Permalink
added disk_size to devices.list call
Browse files Browse the repository at this point in the history
  • Loading branch information
splaspood authored and geemus committed Feb 23, 2011
1 parent 1bbb919 commit 2215818
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/fog/compute/requests/voxel/devices_list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ def devices_list( device_id = nil )
{ :id => device['id'],
:name => device['label'],
:processing_cores => device['processor']['cores'],
:facility => device['location']['facility']['code'] }
:facility => device['location']['facility']['code'],
:disk_size => device['storage']['drive']['size'] }
end
end
end
Expand Down

0 comments on commit 2215818

Please sign in to comment.