Commit 301cfcb8 authored by Erick Hitter's avatar Erick Hitter

Make sure config isn't circumvented

parent c95027bc
......@@ -178,14 +178,15 @@ func checkDropletAge(droplet godo.Droplet) {
if thr.After(created) {
logger.Printf("Stale droplet => ID: %d; name: \"%s\"; created: %s, %s (%d)", droplet.ID, droplet.Name, humanize.Time(created), droplet.Created, created.Unix())
if deleteStale {
func deleteDroplet(droplet godo.Droplet) bool {
if !deleteStale {
return false
logger.Printf("Deleting droplet %d", droplet.ID)
return false
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment