Skip to content

Commit

Permalink
Fix spelling mistake in azure/exchanger.go
Browse files Browse the repository at this point in the history
Signed-off-by: Lasse Højgaard <48590638+lhotrifork@users.noreply.github.com>
  • Loading branch information
lhotrifork authored May 31, 2022
1 parent 761b9a1 commit 32d5944
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/azure/exchanger.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ func (e *Exchanger) ExchangeACRAccessToken(armToken string) (string, error) {
var errors []acrError
decoder := json.NewDecoder(resp.Body)
if err = decoder.Decode(&errors); err == nil {
return "", fmt.Errorf("unexpected status code %d from exchnage request: errors:%s",
return "", fmt.Errorf("unexpected status code %d from exchange request: errors:%s",
resp.StatusCode, errors)
}

return "", fmt.Errorf("unexpected status code %d from exchnage request", resp.StatusCode)
return "", fmt.Errorf("unexpected status code %d from exchange request", resp.StatusCode)
}

var tokenResp tokenResponse
Expand Down

0 comments on commit 32d5944

Please sign in to comment.