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:
parent
8a4c9c154b
commit
c4c5f1f062
4 changed files with 5 additions and 5 deletions
2
vendor/github.com/mattn/go-xmlrpc/xmlrpc.go
generated
vendored
2
vendor/github.com/mattn/go-xmlrpc/xmlrpc.go
generated
vendored
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue