Skip to content

Commit bd0b0dc

Browse files
committed
DigitalOcean: Fix for #477
Search for droplets (nodes) instead of images.
1 parent 1c0f9c9 commit bd0b0dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

provider/digitalocean.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def destroy_node(node):
7878
params, creds = node['params'], node['creds']
7979
conn = _create_digitalocean_connection(creds)
8080
name = node['id']
81-
for i in conn.images():
81+
for i in conn.show_active_droplets():
8282
if i.name == name:
8383
conn.destroy_droplet(i.id)
8484
return

0 commit comments

Comments
 (0)