Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
zachmann committed Nov 25, 2021
1 parent dee5d67 commit 17c2e98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions liboidcagent.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (c *agentConnection) parseTokenResponse(rawResponse tokenResponse) (res Tok
return
}

// GetTokenResponse gets a token response
// GetTokenResponse gets a TokenResponse
func GetTokenResponse(req TokenRequest) (resp TokenResponse, err error) {
if req.ShortName == "" && req.IssuerURL == "" {
err = OIDCAgentError{err: "'Shortname' and 'IssuerURL' both not provided"}
Expand Down Expand Up @@ -143,7 +143,7 @@ func getLoadedAccounts() (accountNames []string, err error) {
accountNames = resp.Accounts
return
}
err = fmt.Errorf("Error on account request (status: %s): %s", resp.Status, resp.Error)
err = fmt.Errorf("error on account request (status: %s): %s", resp.Status, resp.Error)
return
}

Expand Down

0 comments on commit 17c2e98

Please sign in to comment.