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

consistency changes: ask for confirm added to all delete actions #224

Merged
merged 1 commit into from
May 17, 2017

Conversation

xmudrii
Copy link
Contributor

@xmudrii xmudrii commented Apr 28, 2017

This PR adds Ask for confirm on all delete actions.

Currently, AskForConfirm is implemented only for Droplets and functions added after confirmation was implemented. Inconsistency can cause confusion and I like keeping up with one pattern.

This PR also renames ArgDeleteForce to ArgForce because AskForConfirm can be used for other actions as well, it's not limited to delete actions so ArgDeleteForce name can be inappropriate.

/cc @mauricio

@mauricio mauricio merged commit 92fd1a6 into digitalocean:master May 17, 2017
@xmudrii xmudrii deleted the delete-consistency branch May 19, 2017 22:14
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.

2 participants