Skip to content

Commit

Permalink
Add name attribute to volume modal
Browse files Browse the repository at this point in the history
  • Loading branch information
shiramax authored and orrabin committed Dec 1, 2019
1 parent 310bf35 commit 5de4ef6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/fog/ovirt/models/compute/volume.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class Volume < Fog::Model
attribute :quota
attribute :alias
attribute :wipe_after_delete
attribute :name

def size_gb
attributes[:size_gb] ||= attributes[:size].to_i / Fog::Ovirt::Compute::DISK_SIZE_TO_GB if attributes[:size]
Expand Down

0 comments on commit 5de4ef6

Please sign in to comment.