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: Update version parsing logic and clean up go warning #2674

Closed
wants to merge 2 commits into from

Conversation

Gorgonx7
Copy link

The intention of this PR is to clean up the version parsing logic as we didn't need to use a function for such a trivial job, this should both improve performance and code clarity.

I also cleaned up a minor code quality warning where an error string was capitalized and the variable was public, it is now private and not capitalized

@Gorgonx7 Gorgonx7 force-pushed the update-version-checking-logic branch from bcfe70d to c13de20 Compare October 16, 2023 09:06
This function was not needed and the logic was a little messy, this should fix that

Signed-off-by: James Gordon <[email protected]>
Error strings should not be capitalized
Test variable should not be public as sarama only has one package

Signed-off-by: James Gordon <[email protected]>
@Gorgonx7 Gorgonx7 force-pushed the update-version-checking-logic branch from c13de20 to dd423dd Compare October 16, 2023 09:07
Copy link

github-actions bot commented Feb 2, 2024

Thank you for your contribution! However, this pull request has not had any activity in the past 90 days and will be closed in 30 days if no updates occur.
If you believe the changes are still valid then please verify your branch has no conflicts with main and rebase if needed. If you are awaiting a (re-)review then please let us know.

@github-actions github-actions bot added the stale Issues and pull requests without any recent activity label Feb 2, 2024
@github-actions github-actions bot closed this Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issues and pull requests without any recent activity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant