Skip to content

Commit

Permalink
Be consistent with the error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaus67 committed Feb 8, 2022
1 parent 54ac6d3 commit 4225c4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connector/gitlab/gitlab.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func (c *gitlabConnector) identity(ctx context.Context, s connector.Scopes, toke
func (c *gitlabConnector) Refresh(ctx context.Context, s connector.Scopes, ident connector.Identity) (connector.Identity, error) {
var data connectorData
if err := json.Unmarshal(ident.ConnectorData, &data); err != nil {
return ident, fmt.Errorf("gitlab: unmarshal refresh token: %v", err)
return ident, fmt.Errorf("gitlab: unmarshal connector data: %v", err)
}
oauth2Config := c.oauth2Config(s)

Expand Down

0 comments on commit 4225c4e

Please sign in to comment.