forked from TrueCloudLab/rclone
vendor: update all dependencies
This commit is contained in:
parent
d1a39dcc4b
commit
af192d2507
232 changed files with 15744 additions and 1710 deletions
2
vendor/github.com/putdotio/go-putio/putio/client.go
generated
vendored
2
vendor/github.com/putdotio/go-putio/putio/client.go
generated
vendored
|
@ -173,7 +173,7 @@ func checkResponse(r *http.Response) error {
|
|||
if len(data) > 0 {
|
||||
err = json.Unmarshal(data, errorResponse)
|
||||
if err != nil {
|
||||
return fmt.Errorf("json decod error: %s. status: %v. Details: %v:", err, status, string(data[:250]))
|
||||
return fmt.Errorf("json decode error: %s. status: %v. Details: %v:", err, status, string(data[:250]))
|
||||
}
|
||||
}
|
||||
return errorResponse
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue