Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix calls to fmt Errorf with no interpolation #187

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

carlpartridge
Copy link
Collaborator

🎫 Ticket

https://jira.cms.gov/browse/BCDA-8373

🛠 Changes

Convert various fmt.Errorf statements to either require the interpolation or to errors.New. Both versions should return a string as an error.

ℹ️ Context

The build was failing on golangci-lint checks.

🧪 Validation

Linting and testing were run to verify no breaking changes.

@carlpartridge carlpartridge requested a review from a team September 20, 2024 20:26
@bhagatparwinder
Copy link
Contributor

LGTM. Does it need any test updates?

@carlpartridge
Copy link
Collaborator Author

LGTM. Does it need any test updates?

Theoretically no, the functionality should be unchanged.

@carlpartridge carlpartridge merged commit ad8a9aa into main Sep 23, 2024
5 checks passed
@carlpartridge carlpartridge deleted the carl/BCDA-8373-fix-golangci-lint-issues branch September 23, 2024 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants