lib/providers/hpcloud/security_groups.rb in lorj-1.0.1 vs lib/providers/hpcloud/security_groups.rb in lorj-1.0.2
- old
+ new
@@ -45,10 +45,10 @@
keypairs = oComputeConnect.key_pairs.all
results = []
keypairs.each do |sElem|
is_selected = true
attributes = sElem.instance_variable_get(:@attributes)
- sQuery.each do | key, value |
+ sQuery.each do |key, value|
if attributes[key] != value
is_selected = false
break
end
end