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

feat: introduce IsClassicKey helper function #239

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

jharley
Copy link
Contributor

@jharley jharley commented Feb 29, 2024

Which problem is this PR solving?

As a follow on to #237, we now realize it's more helpful to be able to determine if a key is a classic key just by the string and not just in the context of a Config.

Short description of the changes

  • Adds a new public function IsClassicKey() and updates Config.IsClassic() to use this without making a breaking change.

libhoney.go Show resolved Hide resolved
@MikeGoldsmith MikeGoldsmith marked this pull request as ready for review March 4, 2024 13:20
@MikeGoldsmith MikeGoldsmith requested a review from a team as a code owner March 4, 2024 13:20
@jharley jharley merged commit 7d496d8 into main Mar 4, 2024
4 checks passed
@jharley jharley deleted the jharley.classiccheck-func branch March 4, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants