# File lib/fog/libvirt/models/compute/volume.rb, line 48 def default_pool_name default_name="default" default_pool=@connection.pools.all(:name => default_name) if default_pool.nil? first_pool=@connection.pools.first if first_pool.nil? raise Fog::Errors::Error.new('We could not find a pool called "default" and there was no other pool defined') else default_name=first_pool.name end end return default_name end