dont provide lastoutput by default

master
Bel LaPointe 2021-09-28 10:35:42 -06:00
parent e8e3b2afdb
commit 2cd9f5ea4d
1 changed files with 2 additions and 2 deletions

View File

@ -23,8 +23,8 @@ func toMap(j *scheduler.Job) map[string]interface{} {
out["last"] = map[string]interface{}{
"run": j.LastRun.In(tz).Format(`2006-01-02 15:04:05 MST`),
"runtime": j.LastRuntime.String(),
"output": j.LastOutput,
"status": j.LastStatus,
//"output": j.LastOutput,
"status": j.LastStatus,
}
return out
}