Sha256: 1f39804ebf9ef39d94c6d401c93d4ec9b45ed2b1c78d33f39de6c65a04e1c7a4
Contents?: true
Size: 391 Bytes
Versions: 12
Compression:
Stored size: 391 Bytes
Contents
module Fog module Compute class XenServer class Real def snapshots data = @connection.request(:parser => Fog::Parsers::XenServer::GetRecords.new, :method => "VM.get_all_records") data.keep_if { |vm| vm[:is_a_snapshot] } servers.load(data) rescue Fog::XenServer::RequestFailed => e [] end end end end end
Version data entries
12 entries across 10 versions & 2 rubygems