incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject svn commit: r962223 - /incubator/deltacloud/trunk/client/lib/deltacloud.rb
Date Thu, 08 Jul 2010 23:37:46 GMT
Author: lutter
Date: Thu Jul  8 23:37:45 2010
New Revision: 962223

URL: http://svn.apache.org/viewvc?rev=962223&view=rev
Log:
Added option for filtering by instance state

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=962223&r1=962222&r2=962223&view=diff
==============================================================================
--- incubator/deltacloud/trunk/client/lib/deltacloud.rb (original)
+++ incubator/deltacloud/trunk/client/lib/deltacloud.rb Thu Jul  8 23:37:45 2010
@@ -228,7 +228,7 @@ class DeltaCloud
 
   def instances(opts={})
     instances = []
-    request( entry_points[:instances] ) do |response|
+    request( entry_points[:instances], :get, opts ) do |response|
       doc = REXML::Document.new( response.body )
       doc.get_elements( 'instances/instance' ).each do |instance|
         uri = instance.attributes['href']



Mime
View raw message