diff options
| author | Jeff Carr <[email protected]> | 2024-10-17 15:29:47 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-17 15:29:47 -0500 |
| commit | c3a69690eee158e676d7ce7a5aa3088a1dc7fc7a (patch) | |
| tree | 7ba2800a50d9cadc38d442f9d99ffa815d8faf82 /http.go | |
| parent | 25b07096685eef2582f3dac34093dc8b0973ffa6 (diff) | |
clean up logging of initial scan of droplets
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'http.go')
| -rw-r--r-- | http.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -28,7 +28,7 @@ func okHandler(w http.ResponseWriter, r *http.Request) { } dur := time.Since(d.lastpoll) // Calculate the elapsed time if d.CurrentState != "ON" { - fmt.Fprintln(w, "BAD STATE ", d.Hostname, "State =", d.State, "CurrentState =", d.CurrentState, shell.FormatDuration(dur)) + fmt.Fprintln(w, "BAD STATE ", d.Hostname, d.hname, "(", d.State, "vs", d.CurrentState, ")", shell.FormatDuration(dur)) } else { dur := time.Since(d.lastpoll) // Calculate the elapsed time fmt.Fprintln(w, "GOOD STATE ON", d.Hostname, d.hname, shell.FormatDuration(dur)) |
