1
0
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:
max furman
2022-06-09 19:40:06 -07:00
parent 537d8bfeca
commit 8767839ea4

View File

@@ -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 {