ec2-instance 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ec2-instance.rb +1 -1
- metadata +2 -2
data/lib/ec2-instance.rb
CHANGED
@@ -26,7 +26,7 @@ module AWS
|
|
26
26
|
#
|
27
27
|
# Return a list of active instances which have a tag value which regexp matches.
|
28
28
|
#
|
29
|
-
def
|
29
|
+
def active_instances_with_tag(tag)
|
30
30
|
matches = []
|
31
31
|
active_instances.each do |ai|
|
32
32
|
matches.push ai unless !ai.match?(tag)
|