deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject svn commit: r1201092 - /incubator/deltacloud/trunk/server/lib/deltacloud/server.rb
Date Fri, 11 Nov 2011 23:14:27 GMT
Author: mfojtik
Date: Fri Nov 11 23:14:27 2011
New Revision: 1201092

URL: http://svn.apache.org/viewvc?rev=1201092&view=rev
Log:
Core: Fixed typo in create_image operation

Modified:
    incubator/deltacloud/trunk/server/lib/deltacloud/server.rb

Modified: incubator/deltacloud/trunk/server/lib/deltacloud/server.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/lib/deltacloud/server.rb?rev=1201092&r1=1201091&r2=1201092&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/lib/deltacloud/server.rb (original)
+++ incubator/deltacloud/trunk/server/lib/deltacloud/server.rb Fri Nov 11 23:14:27 2011
@@ -240,7 +240,7 @@ END
 	:description => params[:description]
       })
       status 201  # Created
-      response['Location'] = image_url(@instance.id)
+      response['Location'] = image_url(@image.id)
       respond_to do |format|
         format.xml  { haml :"images/show" }
         format.json { convert_to_json(:image, @image) }



Mime
View raw message