Commit 8f6e40f4 authored by Erick Hitter's avatar Erick Hitter

Consistently return name, along with ID, or troublesome droplets

parent 57044f05
Pipeline #203 passed with stages
in 15 minutes and 41 seconds
......@@ -167,7 +167,7 @@ func checkDropletAge(droplet godo.Droplet) bool {
thr := time.Now().Add(time.Duration(-threshold) * time.Second)
created, err := time.Parse(time.RFC3339, droplet.Created)
if err != nil {
logger.Printf("Could not parse created-timestamp for droplet ID %d", droplet.ID)
logger.Printf("Could not parse created-timestamp for droplet %s (%d)", droplet.Name, 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