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

Add confirm option to ec2removeimg, remove references to ec2publishimg #57

Merged
merged 1 commit into from
Aug 20, 2020

Conversation

KeithMnemonic
Copy link
Contributor

@KeithMnemonic KeithMnemonic commented Aug 13, 2020

This patch changes the references to ec2publishimg and updates them to ec2publishimg. It also implements the --confirm option. This option was originally listed as --no-confirm as was not implemented. In order to not create a regression, the option was changed to confirm and implemented. This keeps the original default behavior of not asking for a confirmation. In addtion, some Tracebacks were cleaned up that were triggered when a reguired argument was missing. Instead of the Traceback, the program exits with an error and an appropriate message.

ec2removeimg Outdated Show resolved Hide resolved
ec2removeimg Outdated Show resolved Hide resolved
@KeithMnemonic KeithMnemonic force-pushed the fix_arguments_in_ec2removeimg branch 2 times, most recently from f4749fe to f25e8ba Compare August 14, 2020 20:52
This patch removes references to ec2publishimg that were
artifacts leftover from the initial script creation.  In
addition, it also implements the --confirm option.  This
option was originally listed as --no-confirm and was
never implemented.  In order to not create a regression,
the option was changed to --confirm.  This keeps the
original default behavior of not asking for a confirmation.
Finally, some logging was changed to just print an error
message when exiting and not a full Traceback.
Copy link
Contributor

@smarlowucf smarlowucf left a comment

Choose a reason for hiding this comment

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

It seems strange to have an optional confirmation workflow by default but maybe it's slightly better than having a --no-confirm option that does nothing.

@rjschwei rjschwei merged commit a43d5ea into master Aug 20, 2020
@KeithMnemonic KeithMnemonic deleted the fix_arguments_in_ec2removeimg branch August 24, 2020 19:17
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