lib/cpee/implementation.rb in cpee-1.4.1 vs lib/cpee/implementation.rb in cpee-1.4.2
- old
+ new
@@ -139,10 +139,10 @@
Riddl::Parameter::Complex.new("wis","text/xml") do
ins = XML::Smart::string('<instances/>')
controller.each do |k,v|
name = v.properties.data.find("string(/p:properties/p:attributes/p:info)")
state = v.properties.data.find("string(/p:properties/p:state)")
- ins.root.add('instance',name, 'id' => k, 'state' => state)
+ ins.root.add('instance',name, 'uuid' => v.uuid, 'id' => k, 'state' => state)
end
ins.to_s
end
end
end #}}}