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

pkg/test: unexport cleanupNoT #1167

Merged
merged 4 commits into from
Mar 5, 2019

Conversation

AlexNPavel
Copy link
Contributor

Description of the change: Unexport the cleanupNoT function

Motivation for the change: We should not export internal functions that we do not expect to be used outside of our own libraries. This allows us to have more freedom with changes to these functions.

@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Mar 4, 2019
Copy link
Member

@estroz estroz left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@lilic lilic left a comment

Choose a reason for hiding this comment

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

lgtm

Just an idea but should we start adding functions we un-export to the release notes? In case someone is using them in operators.

pkg/test/context.go Outdated Show resolved Hide resolved
Copy link
Member

@joelanford joelanford left a comment

Choose a reason for hiding this comment

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

LGTM

@AlexNPavel
Copy link
Contributor Author

@lilic Good idea. I'll add that to the changelog

@AlexNPavel AlexNPavel merged commit 3345567 into operator-framework:master Mar 5, 2019
@AlexNPavel AlexNPavel deleted the unexport-test branch March 5, 2019 19:58
@joelanford joelanford added this to the 1.0.0 milestone Mar 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants