saltstack/salt-cloud — pull request #765 by mahendra (2013-09-02 10:57:06+00:00)
Title: Add show_delvol_on_destroy and other bug fixes

Add a show_delvol_on_destroy command/action to see the status of the flag.

There were some bugs in #718
* If you attach 1 or more volumes (using volumes), the last volume to be attached will not have the flag set. This was because of a loop issue where the _toggle_delvol was being invoked before the attach API was being invoked.
* The delvol_on_destroy and keepvol_on_destroy commands were not respecting the keyword arguments (was resulting in 400/Bad request)