incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject svn commit: r962114 - /incubator/deltacloud/trunk/framework/lib/converters/xml_converter.rb
Date Thu, 08 Jul 2010 23:23:47 GMT
Author: lutter
Date: Thu Jul  8 23:23:47 2010
New Revision: 962114

URL: http://svn.apache.org/viewvc?rev=962114&view=rev
Log:
Expose instance name via XML.

Modified:
    incubator/deltacloud/trunk/framework/lib/converters/xml_converter.rb

Modified: incubator/deltacloud/trunk/framework/lib/converters/xml_converter.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/framework/lib/converters/xml_converter.rb?rev=962114&r1=962113&r2=962114&view=diff
==============================================================================
--- incubator/deltacloud/trunk/framework/lib/converters/xml_converter.rb (original)
+++ incubator/deltacloud/trunk/framework/lib/converters/xml_converter.rb Thu Jul  8 23:23:47
2010
@@ -65,6 +65,7 @@ module Converters
           when Instance
             builder.instance( :href=>@link_builder.send( :instance_url, obj.id ) ) {
               builder.id( obj.id )
+              builder.name( obj.name )
               builder.owner_id( obj.owner_id )
               builder.image( :href=>@link_builder.send( :image_url, obj.image_id ) )
               builder.flavor( :href=>@link_builder.send( :flavor_url, obj.flavor_id )
)



Mime
View raw message