-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slate 1.1.1 does not support multiple targets #7
Comments
This spec tests multiple targets. https://github.com/trobrock/slate/blob/master/spec/lib/slate/graph_spec.rb#L42 |
That url then get munged by Faraday and the first target gets dropped |
Ahh. I will take a look then. On Thu, Mar 20, 2014 at 4:14 PM, aselder [email protected] wrote:
Thanks, |
1.8.7-p371 :006 > f = Faraday.new |
Thats nice of faraday |
Yeah, I thought so |
putting a 'ap' inside Faraday reveals the following request object:
{
:body => nil,
:path => "http://10.6.199.66:443/render",
:method => :get,
:headers => {
"User-Agent" => "Faraday v0.8.9"
},
:params => {
"target" => "stats.gauges.importer.success.30_minutes",
"format" => "json"
},
:options => {
:timeout => 10,
:proxy => nil
}
}
Faraday is only taking the last value of the target param.
The text was updated successfully, but these errors were encountered: