You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by mf...@redhat.com on 2012/12/14 13:04:54 UTC

[PATCH core 4/4] CIMI: Fix ordering of Collection entries XML elements (DTACLOUD-396)

From: Michal Fojtik <mf...@redhat.com>


Signed-off-by: Michal fojtik <mf...@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