deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@redhat.com
Subject [PATCH] Bugfix - return json output for create instance action (minor logic error)
Date Wed, 21 Mar 2012 12:55:01 GMT
From: marios <marios@redhat.com>


Signed-off-by: marios <marios@redhat.com>
---
 server/lib/deltacloud/server.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/lib/deltacloud/server.rb b/server/lib/deltacloud/server.rb
index b845616..dd54b88 100644
--- a/server/lib/deltacloud/server.rb
+++ b/server/lib/deltacloud/server.rb
@@ -495,7 +495,7 @@ END
           if @elements
             convert_to_json(:instances, @elements)
           else
-            convert_to_json(:instance, @elements)
+            convert_to_json(:instance, @instance)
           end
         end
         format.html do
-- 
1.7.6.5


Mime
View raw message