Update dependency mattn/go-xmlrpc (#1091)

Signed-off-by: Fabian Heymann <fabian.heymann@finanzcheck.de>
pull/1092/head
Fabian Heymann 6 years ago committed by Ben Kochie
parent d999dacdc6
commit 2f381f0c44

@ -163,13 +163,17 @@ func next(p *xml.Decoder) (xml.Name, interface{}, error) {
case "array": case "array":
var ar Array var ar Array
nextStart(p) // data nextStart(p) // data
nextStart(p) // top of value
for { for {
nextStart(p) // top of value
_, value, e := next(p) _, value, e := next(p)
if e != nil { if e != nil {
break break
} }
ar = append(ar, value) ar = append(ar, value)
if reflect.ValueOf(value).Kind() != reflect.Map {
nextStart(p)
}
} }
return xml.Name{}, ar, nil return xml.Name{}, ar, nil
case "nil": case "nil":

@ -71,10 +71,10 @@
"revisionTime": "2017-06-05T15:08:45Z" "revisionTime": "2017-06-05T15:08:45Z"
}, },
{ {
"checksumSHA1": "8uAFFK5p8F39X1MOLsHrgTI0hzw=", "checksumSHA1": "bCmcSbBoZf/rekSo8AE7l0fNCkw=",
"path": "github.com/mattn/go-xmlrpc", "path": "github.com/mattn/go-xmlrpc",
"revision": "b7a1b57d9142f44a3a8f5a80aadf8d2d6ea2ca22", "revision": "6e944673e4c0cc6117326f69df5eb7b210a6362d",
"revisionTime": "2018-04-20T00:08:13Z" "revisionTime": "2018-09-13T19:02:54Z"
}, },
{ {
"checksumSHA1": "aodj/cITRyuaZSh84DDhrZjh76U=", "checksumSHA1": "aodj/cITRyuaZSh84DDhrZjh76U=",

Loading…
Cancel
Save