mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[ovirt] Added support for oVirt volume status.
This commit is contained in:
parent
e1490f60dc
commit
77e7883056
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ module Fog
|
|||
attribute :format
|
||||
attribute :sparse
|
||||
attribute :size_gb
|
||||
attribute :status
|
||||
|
||||
def size_gb
|
||||
attributes[:size_gb] ||= attributes[:size].to_i / DISK_SIZE_TO_GB if attributes[:size]
|
||||
|
|
Loading…
Add table
Reference in a new issue