You've already forked step-ca-cli
mirror of
https://github.com/smallstep/cli.git
synced 2025-08-09 03:22:43 +03:00
fix wrong function name
This commit is contained in:
@@ -860,7 +860,7 @@ func (o *oauth) deviceAuthzTokenPoll(data url.Values) (*token, error) {
|
|||||||
defer resp.Body.Close()
|
defer resp.Body.Close()
|
||||||
b, err := io.ReadAll(resp.Body)
|
b, err := io.ReadAll(resp.Body)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errors.WithWrap(err, "error reading HTTP response body from /token endpoint")
|
return nil, errors.Wrap(err, "error reading HTTP response body from /token endpoint")
|
||||||
}
|
}
|
||||||
|
|
||||||
switch {
|
switch {
|
||||||
|
Reference in New Issue
Block a user