mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-28 23:19:46 -08:00
Update dependency mattn/go-xmlrpc (#1091)
Signed-off-by: Fabian Heymann <fabian.heymann@finanzcheck.de>
This commit is contained in:
parent
d999dacdc6
commit
2f381f0c44
6
vendor/github.com/mattn/go-xmlrpc/xmlrpc.go
generated
vendored
6
vendor/github.com/mattn/go-xmlrpc/xmlrpc.go
generated
vendored
|
@ -163,13 +163,17 @@ func next(p *xml.Decoder) (xml.Name, interface{}, error) {
|
|||
case "array":
|
||||
var ar Array
|
||||
nextStart(p) // data
|
||||
nextStart(p) // top of value
|
||||
for {
|
||||
nextStart(p) // top of value
|
||||
_, value, e := next(p)
|
||||
if e != nil {
|
||||
break
|
||||
}
|
||||
ar = append(ar, value)
|
||||
|
||||
if reflect.ValueOf(value).Kind() != reflect.Map {
|
||||
nextStart(p)
|
||||
}
|
||||
}
|
||||
return xml.Name{}, ar, nil
|
||||
case "nil":
|
||||
|
|
6
vendor/vendor.json
vendored
6
vendor/vendor.json
vendored
|
@ -71,10 +71,10 @@
|
|||
"revisionTime": "2017-06-05T15:08:45Z"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "8uAFFK5p8F39X1MOLsHrgTI0hzw=",
|
||||
"checksumSHA1": "bCmcSbBoZf/rekSo8AE7l0fNCkw=",
|
||||
"path": "github.com/mattn/go-xmlrpc",
|
||||
"revision": "b7a1b57d9142f44a3a8f5a80aadf8d2d6ea2ca22",
|
||||
"revisionTime": "2018-04-20T00:08:13Z"
|
||||
"revision": "6e944673e4c0cc6117326f69df5eb7b210a6362d",
|
||||
"revisionTime": "2018-09-13T19:02:54Z"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "aodj/cITRyuaZSh84DDhrZjh76U=",
|
||||
|
|
Loading…
Reference in a new issue