lib/mulder/client.rb in mulder-0.3.2 vs lib/mulder/client.rb in mulder-0.4.0
- old
+ new
@@ -13,10 +13,10 @@
def group
@connection.group_by_id_regexp(id_regexp)
end
def instances
- @connection.instances_by_group(group)
+ @connection.instances_by_group(group).select(&:exists?)
end
def id_regexp
/^#{@app}-#{@environment}-(.*-)?#{@role}-.*$/i
end