Update github.com/mattn/go-xmlrpc (#1529)

Fixes: https://github.com/prometheus/node_exporter/issues/1294

Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
Ben Kochie 2019-11-16 18:32:52 +01:00 committed by GitHub
commit c4c5f1f062
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View file

@ -319,7 +319,7 @@ func makeRequest(name string, args ...interface{}) *bytes.Buffer {
}
func call(client *http.Client, url, name string, args ...interface{}) (v interface{}, e error) {
r, e := httpClient.Post(url, "text/xml", makeRequest(name, args...))
r, e := client.Post(url, "text/xml", makeRequest(name, args...))
if e != nil {
return nil, e
}