incubator-deltacloud-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=962118&view=rev
Log:
Allow for no realm in the instacne 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=962118&r1=962117&r2=962118&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:24:00
2010
@@ -69,7 +69,7 @@ module Converters
               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 )
)
-              builder.realm( :href=>@link_builder.send( :realm_url, obj.realm_id ) )
+              builder.realm( :href=>@link_builder.send( :realm_url, obj.realm_id ) ) if
obj.realm_id 
               builder.state( obj.state )
               builder.actions {
                 if ( obj.actions )



Mime
View raw message