DescriptionAdd safety belt to destroy-environment
Destroy-environment is dangerous and we should prevent people from shooting themselves in the foot if at all possible. This change removes the -y flag from destroy-environment and changes the "are you sure?" prompt to force the user to type "destroy <environment_name>". The flag is too easy to pass without ththinking, and the y at the prompt is similarly too easy to type in without the user actually thinking about what they're doing. Forcing them to type the environment name will also ensure they don't accidentally destroy the wrong environment by accident.
https://code.launchpad.net/~natefinch/juju-core/022-destroyer/+merge/191501
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : Add safety belt to destroy-environment #
Total comments: 1
MessagesTotal messages: 6
|