-
Notifications
You must be signed in to change notification settings - Fork 75
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
Remove dead functionality from the codebase #3174
Conversation
Now behave is way more sane to run in the CLI, and the credentials file to be used is protest.yaml Signed-off-by: Renan Rodrigo <[email protected]>
Removing the update_contract_info function, its respective job, the is_contract_changed method and the CONTRACT_REFRESH_WARNING notice. None of this functionality is being called anywhere in the code. Fixes: #3058 Signed-off-by: Renan Rodrigo <[email protected]>
PR ChecklistHow to use this checklistHow to use this checklistPR AuthorFor each section, check a box when it is true. PR ReviewerCheck that the PR checklist action did not fail. Bug ReferencesConfirm
How to properly reference fixed bugs
Test UpdatesUnit Tests
Integration Tests
Documentation
Does this PR require review from someone outside the core ubuntu-pro-client team?
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏 👏
Great job on spotting and removing this code.
I am approving, but let's wait for CI to see if we are not missing anything
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks this looks great
Why is this needed?
This PR solves all of our problems because dead code is dead, and should be buried in the past.
The functionality can be restored from git history in the future if we want to see it again. creepy right.
Fixes: #3058
Test Steps
Everything should be working normal, from tox to behave, as this is only removing unused functionality.