easy-proxy
easy-proxy copied to clipboard
Proxy mass destroy
I think cancel button is broken. It doesn't mass destroy all instances or if it is for other purpose, I hope u can add mass destroy option
you can find a mass destroyer here: https://github.com/ryan9918/digital-ocean-destroyer
Just started dabbling with this, and if im not mistaken there is a bug where it's actually making a call to create a droplet (dropletsCreate()) instead of destroying it dropletsDelete() in create.js. Try replacing with the following... (Haven't tested it yet) let me know how you make out.
EDIT: Confirming that this is a fix.
function destroyDroplet(id, api, cb) {
api.dropletsDelete(id, function(err, resp, body) {
if (err) {
return cb(true, null);
}
return cb(null, true)
});
}