lib/outliers/resources/aws/ec2/instance.rb in outliers-0.3.3 vs lib/outliers/resources/aws/ec2/instance.rb in outliers-0.5.0.beta1
- old
+ new
@@ -23,10 +23,10 @@
end
source_dest_check == true
end
def valid_image_id?(args)
- image_ids = Array(args[:image_ids])
+ image_ids = Array(args)
logger.debug "Verifying Image ID '#{image_id}' is one of '#{image_ids.join(', ')}'."
image_ids.include? image_id
end