Skip to content

Commit

Permalink
Fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
Rheisen committed Mar 23, 2024
1 parent 4e0e49c commit ff82104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion error_struct.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func newBerr(errorType ErrorType, errorMessage string, attachments ...Attachment
next = fmt.Errorf("%s: %w", next, d.Value().(error))
case d.Type() == AttachmentMetadataType:
errorMetadata[d.Key()] = d.Value()
case d.Sensitive() == true:
case d.Sensitive():
errorMetadata[d.Key()] = d.Value()
default:
errorDetail[d.Key()] = d.Value()
Expand Down

0 comments on commit ff82104

Please sign in to comment.