We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1c0f9c9 + bd0b0dc commit 51a3c42Copy full SHA for 51a3c42
1 file changed
provider/digitalocean.py
@@ -78,7 +78,7 @@ def destroy_node(node):
78
params, creds = node['params'], node['creds']
79
conn = _create_digitalocean_connection(creds)
80
name = node['id']
81
- for i in conn.images():
+ for i in conn.show_active_droplets():
82
if i.name == name:
83
conn.destroy_droplet(i.id)
84
return
0 commit comments