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

Cleanup: removes unnecessary constructor wrapper #243

Merged
merged 1 commit into from
Jun 8, 2023

Conversation

m1kola
Copy link
Member

@m1kola m1kola commented Jun 1, 2023

Description

This PR removes unnecessary constructor wrapper: required_package.InVersionRange and required_package.InChannel are no-op if inputs are empty.

Reviewer Checklist

  • API Go Documentation
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)

@m1kola m1kola requested review from tmshort and perdasilva June 1, 2023 09:59
Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
@m1kola m1kola force-pushed the OLMVariableSource_cleanup branch from cb35a99 to 003df4e Compare June 1, 2023 10:08
@m1kola m1kola merged commit 80a5786 into operator-framework:main Jun 8, 2023
5 checks passed
@m1kola m1kola deleted the OLMVariableSource_cleanup branch June 8, 2023 12:15
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.

None yet

3 participants