Skip to content

Commit

Permalink
Merge pull request #720 from mbrgm/fix-digitalocean-destroy
Browse files Browse the repository at this point in the history
Fix DigitalOceanState.destroy()
  • Loading branch information
domenkozar authored Aug 22, 2017
2 parents 5539162 + 1675d7a commit c06c0e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nixops/backends/digital_ocean.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ def destroy(self, wipe=False):
self.public_ipv4 = None
self.droplet_id = None

return True

def create(self, defn, check, allow_reboot, allow_recreate):
ssh_key = self.depl.active_resources.get('ssh-key')
if ssh_key is None:
Expand Down

0 comments on commit c06c0e7

Please sign in to comment.