Skip to content

Commit

Permalink
Fix error formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dblanchette committed Mar 11, 2024
1 parent 54c55fd commit 3c6f852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion credentials/credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func ParseSingleCredentials(credentialsMap map[string]interface{}) (Credentials,
validationErrors = multierror.Append(validationErrors, fmt.Errorf("entry %s: unable to create a decoder: %v", id, err))
}
if err := decoder.Decode(credentialsMap); err != nil {
return nil, fmt.Errorf("entry %s: invalid credentials data: %v", id, err)
return nil, fmt.Errorf("entry %s: invalid credentials data: %w", id, err)
}
credentialsMap["type"] = credentialsType

Expand Down

0 comments on commit 3c6f852

Please sign in to comment.