glance clear should prompt before deleting all images
Bug #766295 reported by
Dan Prince
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Brian Waldon |
Bug Description
Running a 'glance clear' command will delete all of your glance images without prompting the end user. Certainly a handy command to have around however we might consider prompting the user before deleting all of the glance images.
Likewise all we might do the same for 'glance delete'.
For scripting purposes it might also be nice to have a --force or -y option to automatically skip this prompt. The user would need to then specify this additional option in order to have the 'glance delete' or 'glance clear' commands behave as they currently do.
Related branches
lp:~rackspace-titan/glance/glance-clear-lp766295
- Jay Pipes (community): Approve
- Dan Prince (community): Approve
-
Diff: 83 lines (+25/-3)2 files modifiedbin/glance (+23/-1)
tests/functional/test_bin_glance.py (+2/-2)
Changed in glance: | |
assignee: | nobody → Brian Waldon (bcwaldon) |
Changed in glance: | |
status: | New → In Progress |
importance: | Undecided → Low |
Changed in glance: | |
status: | In Progress → Fix Committed |
Changed in glance: | |
milestone: | none → diablo-1 |
Changed in glance: | |
milestone: | diablo-1 → 2011.3 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.