mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Implement wipe_after_delete attribute for Fog::Compute::Ovirt::Volume class
This commit is contained in:
parent
0566b42a75
commit
5ebb4b2c29
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ module Fog
|
||||||
attribute :status
|
attribute :status
|
||||||
attribute :quota
|
attribute :quota
|
||||||
attribute :alias
|
attribute :alias
|
||||||
|
attribute :wipe_after_delete
|
||||||
|
|
||||||
def size_gb
|
def size_gb
|
||||||
attributes[:size_gb] ||= attributes[:size].to_i / DISK_SIZE_TO_GB if attributes[:size]
|
attributes[:size_gb] ||= attributes[:size].to_i / DISK_SIZE_TO_GB if attributes[:size]
|
||||||
|
|
Loading…
Reference in a new issue