diff options
| author | Jeff Carr <[email protected]> | 2023-12-31 02:50:20 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-12-31 02:50:20 -0600 |
| commit | d2f0691744ff677a3d044cad72c1c35d32f85d92 (patch) | |
| tree | 17d7c6e9b5dd16bc76b8c9ad62bcd0c2045ad1cb /digitalocean/droplet.go | |
| parent | 44730e1b91d0aa9d412032aebe2fc0c8367ddf13 (diff) | |
create takes a name. delete() droplet works
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'digitalocean/droplet.go')
| -rw-r--r-- | digitalocean/droplet.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/digitalocean/droplet.go b/digitalocean/droplet.go index 6c0da08..7567f8b 100644 --- a/digitalocean/droplet.go +++ b/digitalocean/droplet.go @@ -116,7 +116,8 @@ func (d *Droplet) PowerOff() { func (d *Droplet) Destroy() { if ! d.Exists() {return} - log.Info("droplet.Connect() ssh here") + log.Info("droplet.Destroy() ID =", d.ID, "Name =", d.name) + myDo.deleteDroplet(d) } /* |
