Update ca/client.go
Co-authored-by: Herman Slatman <hslatman@users.noreply.github.com>
This commit is contained in:
parent
f19b49cefb
commit
2349a7a7fb
1 changed files with 1 additions and 1 deletions
|
@ -630,7 +630,7 @@ retry:
|
||||||
default:
|
default:
|
||||||
var capabilities api.CapabilitiesResponse
|
var capabilities api.CapabilitiesResponse
|
||||||
if err := readJSON(resp.Body, &capabilities); err != nil {
|
if err := readJSON(resp.Body, &capabilities); err != nil {
|
||||||
return nil, errs.Wrapf(http.StatusInternalServerError, err, "client.Capabilities; error reading %s", u)
|
return nil, errs.Wrapf(http.StatusInternalServerError, err, "client.Capabilities; error reading %q", u)
|
||||||
}
|
}
|
||||||
return &capabilities, nil
|
return &capabilities, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue