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

Reduce API surface #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Reduce API surface #17

wants to merge 1 commit into from

Conversation

zmb3
Copy link
Contributor

@zmb3 zmb3 commented Feb 25, 2025

Remove public APIs that are not used by Teleport or Cloud.

Remove public APIs that are not used by Teleport or Cloud.
@zmb3 zmb3 requested a review from rosstimothy February 25, 2025 22:58
@@ -148,56 +147,3 @@ func TestAppendAnonymizationKey(t *testing.T) {
require.NoError(t, err)
require.Equal(t, string(licAppended), string(licAppendedAgain))
}

func TestSplitPEM(t *testing.T) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SplitPEM was in package license, but its test was in package generate, which made no sense.

Since SplitPEM is not used externally, I unexported it and remove the test. It is an implementation detail that is covered by the existing ParsePEM tests.

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