lib/fog/libvirt/requests/compute/get_node_info.rb in fog-maestrodev-1.8.0.20130114204828 vs lib/fog/libvirt/requests/compute/get_node_info.rb in fog-maestrodev-1.14.0.20130806165225
- old
+ new
@@ -12,10 +12,10 @@
node_hash[param] = client.send(param) rescue nil
end
node_hash[:uri] = client.uri
xml = client.sys_info rescue nil
[:uuid, :manufacturer, :product, :serial].each do |attr|
- node_hash[attr] = node_attr(attr, xml)
+ node_hash[attr] = node_attr(attr, xml) rescue nil
end if xml
node_hash[:hostname] = client.hostname
[node_hash]
end