1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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 c45f166235
commit 99616d0c80

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):