Commit 654dc412 authored by Erick Hitter's avatar Erick Hitter

Merge branch 'fix/error-consistency' into 'master'

Error message consistency

See merge request !3
parents 57044f05 8f6e40f4
Pipeline #1258 passed with stages
in 19 minutes and 37 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