incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject svn commit: r1136388 - /incubator/deltacloud/trunk/client/lib/deltacloud.rb
Date Thu, 16 Jun 2011 12:08:51 GMT
Author: mfojtik
Date: Thu Jun 16 12:08:51 2011
New Revision: 1136388

URL: http://svn.apache.org/viewvc?rev=1136388&view=rev
Log:
Removed snapshot_id on create call. This is not longer supported
and throws an error anyway.

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

Modified: incubator/deltacloud/trunk/client/lib/deltacloud.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/client/lib/deltacloud.rb?rev=1136388&r1=1136387&r2=1136388&view=diff
==============================================================================
--- incubator/deltacloud/trunk/client/lib/deltacloud.rb (original)
+++ incubator/deltacloud/trunk/client/lib/deltacloud.rb Thu Jun 16 12:08:51 2011
@@ -294,13 +294,6 @@ module DeltaCloud
           params[:hwp_id] ||= params[:hardware_profile]
         end
 
-        if args[:snapshot_id] and args[:device_name]
-          params.merge!({
-            :snapshot_id => args[:snapshot_id],
-            :device_name => args[:device_name]
-          })
-        end
-
         params[:image_id] ||= params[:image_id] || args[0] if args[0].class!=Hash
 
         obj = nil



Mime
View raw message