Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions lib/fog/libvirt/models/compute/volume.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@ def wipe
service.volume_action key, :wipe
end

def reload
super

# Restore lost defaults
self.format_type ||= defaults[:format_type]

self
end

# Clones this volume to the name provided
def clone(name)
new_volume = self.dup
Expand Down
Loading