diff --git a/cloud/digital_ocean b/cloud/digital_ocean index 6cac2c82589..0a2b0839c31 100644 --- a/cloud/digital_ocean +++ b/cloud/digital_ocean @@ -348,7 +348,7 @@ def core(module): elif state in ('absent', 'deleted'): # First, try to find a droplet by id. - droplet = Droplet.find(id=getkeyordie('id')) + droplet = Droplet.find(module.params['id']) # If we couldn't find the droplet and the user is allowing unique # hostnames, then check to see if a droplet with the specified