deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject git commit: Bugfix - for DTACLOUD-164 - return json output for create instance action (minor logic error)
Date Wed, 21 Mar 2012 13:47:53 GMT
Updated Branches:
  refs/heads/master 5919d2682 -> 7e372dfca


Bugfix - for DTACLOUD-164 - return json output for create instance action (minor logic error)

https://issues.apache.org/jira/browse/DTACLOUD-164


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/7e372dfc
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/7e372dfc
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/7e372dfc

Branch: refs/heads/master
Commit: 7e372dfca79c02a799046287e5936129216b781b
Parents: 5919d26
Author: marios <marios@redhat.com>
Authored: Wed Mar 21 15:44:33 2012 +0200
Committer: marios <marios@redhat.com>
Committed: Wed Mar 21 15:44:33 2012 +0200

----------------------------------------------------------------------
 server/lib/deltacloud/server.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/7e372dfc/server/lib/deltacloud/server.rb
----------------------------------------------------------------------
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


Mime
View raw message