1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #1008 from ohadlevy/master

[libvirt] minor updates
This commit is contained in:
Wesley Beary 2012-06-27 13:26:45 -07:00
commit 2f226adcba
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ module Fog
end
class Mock
def create_volume(xml)
def create_volume(pool_name, xml)
end
end

View file

@ -20,7 +20,7 @@ module Fog
def volume_to_attributes(vol)
format_type = xml_element(vol.xml_desc, "/volume/target/format", "type")
format_type = xml_element(vol.xml_desc, "/volume/target/format", "type") rescue nil # not all volumes have types, e.g. LVM
return nil if format_type == "dir"
{