deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@redhat.com
Subject [PATCH core 4/4] CIMI: Fix ordering of Collection entries XML elements (DTACLOUD-396)
Date Fri, 14 Dec 2012 12:04:54 GMT
From: Michal Fojtik <mfojtik@redhat.com>


Signed-off-by: Michal fojtik <mfojtik@redhat.com>
---
 server/lib/cimi/models/schema.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/lib/cimi/models/schema.rb b/server/lib/cimi/models/schema.rb
index 4e1affb..b86fb08 100644
--- a/server/lib/cimi/models/schema.rb
+++ b/server/lib/cimi/models/schema.rb
@@ -136,7 +136,7 @@ class CIMI::Model::Schema
     end
 
     def convert_to_xml(model)
-      xml = {}
+      xml = OrderedHash.new
       @schema.to_xml(model, xml)
       xml
     end
-- 
1.8.0.2


Mime
View raw message