-
Notifications
You must be signed in to change notification settings - Fork 184
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 usage of reregistration and deprecate cli-option #3522
Remove usage of reregistration and deprecate cli-option #3522
Conversation
LGTM! |
insights/client/config.py
Outdated
@@ -326,7 +326,7 @@ def _core_collect_default(): | |||
'reregister': { | |||
'default': False, | |||
'opt': ['--force-reregister'], | |||
'help': 'Forcefully reregister this machine to Red Hat. Use only as directed.', | |||
'help': argparse.SUPPRESS, |
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.
As we are in deprecation mode, I will not silence that option from argparse
now. But I would suggest adding the deprecation message, announcing the ineffectiveness of that latter and its future removal.
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.
Agree, I have added a new message
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.
LGTM
Signed-off-by: ahitacat <[email protected]>
Signed-off-by: ahitacat <[email protected]>
Signed-off-by: ahitacat <[email protected]>
Signed-off-by: ahitacat [email protected]
All Pull Requests:
Check all that apply:
Complete Description of Additions/Changes:
Working on deprecate --force-reregistration client option. This option will be deprecate in favor of the explicit running of
insights-client --unregister
andinsights-client --register
. This work is part of the improvement of the re-registration safeguard [RHIN-500]Resolves: #rhbz2071082