You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by ma...@redhat.com on 2012/02/23 14:28:09 UTC

[PATCH 2/3] Minor edit to show retrieved instance rather than redirect (or lose one-time-returned password)

From: marios <ma...@redhat.com>


Signed-off-by: marios <ma...@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 57b7daa..e370f98 100644
--- a/server/lib/deltacloud/server.rb
+++ b/server/lib/deltacloud/server.rb
@@ -500,7 +500,7 @@ END
             haml :"instances/index"
           elsif @instance and @instance.id
             response['Location'] = instance_url(@instance.id)
-            redirect instance_url(@instance.id)
+            haml :"instances/show"
           else
             redirect instances_url
           end
-- 
1.7.6.5


Re: [PATCH 2/3] Minor edit to show retrieved instance rather than redirect (or lose one-time-returned password)

Posted by David Lutterkort <lu...@redhat.com>.
On Thu, 2012-02-23 at 15:28 +0200, marios@redhat.com wrote:
> From: marios <ma...@redhat.com>
> 
> 
> Signed-off-by: marios <ma...@redhat.com>

ACK. Nice catch.

David