Browse Source

health checks not implemented yet

main
forest 2 months ago
parent
commit
8bffc70a6d
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      status.go

+ 4
- 4
status.go View File

@ -34,10 +34,10 @@ func status(args []string) {
}
suffix := ""
if status.PID != 0 && status.Enabled {
healthCheckResult := "failing"
if status.Healthy {
healthCheckResult = "passing"
}
healthCheckResult := "not implemented yet"
// if status.Healthy {
// healthCheckResult = "passing"
// }
uptimeDuration := time.Since(status.Started)
uptimeDurationSeconds := time.Duration((int64(uptimeDuration) / int64(time.Second)) * int64(time.Second))
suffix = fmt.Sprintf(` PID: %d


Loading…
Cancel
Save