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

chore(controllers): rename controller files to be shared #519

Merged
merged 2 commits into from
Feb 6, 2023

Conversation

ebaron
Copy link
Member

@ebaron ebaron commented Feb 6, 2023

The main PR for #513 will add a new API and controller and much of the existing controller code will be shared between the controllers for the two APIs. This PR does the file renaming as a separate step in order to make the main PR easier to review. Otherwise, I could not get Git to treat this operation as a rename since cryostat_controller.go will still exist, but delegate most of its functionality to reconciler.go.

This PR is targeting a feature branch. Once this PR and subsequent PR(s) have been merged into this feature branch, I will open another pull request against main. For that final PR, I plan to not squash the commits.

Related to: #513

@ebaron ebaron added the chore Refactor, rename, cleanup, etc. label Feb 6, 2023
@ebaron ebaron requested review from andrewazores and tthvo February 6, 2023 21:07
@ebaron ebaron merged commit b040f1f into cryostatio:multi-namespace-wip Feb 6, 2023
ebaron added a commit that referenced this pull request Feb 23, 2023
* Move controller

* Move controller tests
ebaron added a commit that referenced this pull request Feb 23, 2023
* Move controller

* Move controller tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Refactor, rename, cleanup, etc.
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants