lib/freno/client.rb in freno-client-0.8.0 vs lib/freno/client.rb in freno-client-0.8.1
- old
+ new
@@ -170,14 +170,15 @@
requests = REQUESTS.keys
else
requests = Array(request)
end
+ with = Array(with)
validate!(with)
requests.each do |request|
decorators[request] ||= []
- decorators[request] += Array(with)
+ decorators[request] += with
decorated_requests[request] = nil
end
end
private