Skip to content

Commit

Permalink
Fix: Typo Error
Browse files Browse the repository at this point in the history
  • Loading branch information
kavya498 committed Aug 11, 2021
1 parent 1f8b4fb commit b662552
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ func (c *Client) MakeRequest(r *rest.Request, respV interface{}) (*gohttp.Respon
defer c.headerLock.Unlock()
var err error
if c.Config.BluemixAPIKey != "" {
log.Println("Retring authentication using API Key")
log.Println("Retrying authentication using API Key")
err = c.TokenRefresher.AuthenticateAPIKey(c.Config.BluemixAPIKey)
} else {
log.Println("Retring authentication using Refresh Token")
log.Println("Retrying authentication using Refresh Token")
_, err = c.TokenRefresher.RefreshToken()
}
switch err.(type) {
Expand Down

0 comments on commit b662552

Please sign in to comment.