Pass scrub_data by default, see response from DO here: https://www.digitalocean.com/blog

This commit is contained in:
Michael DeHaan 2013-12-30 20:21:15 -05:00
parent 0a3293cf53
commit 50c600c361

View file

@ -221,7 +221,7 @@ class Droplet(JsonfyMixIn):
raise TimeoutError('Wait for droplet running timeout', self.id) raise TimeoutError('Wait for droplet running timeout', self.id)
def destroy(self): def destroy(self):
return self.manager.destroy_droplet(self.id) return self.manager.destroy_droplet(self.id, scrub_data=True)
@classmethod @classmethod
def setup(cls, client_id, api_key): def setup(cls, client_id, api_key):