dont provide lastoutput by default
parent
e8e3b2afdb
commit
2cd9f5ea4d
|
|
@ -23,8 +23,8 @@ func toMap(j *scheduler.Job) map[string]interface{} {
|
||||||
out["last"] = map[string]interface{}{
|
out["last"] = map[string]interface{}{
|
||||||
"run": j.LastRun.In(tz).Format(`2006-01-02 15:04:05 MST`),
|
"run": j.LastRun.In(tz).Format(`2006-01-02 15:04:05 MST`),
|
||||||
"runtime": j.LastRuntime.String(),
|
"runtime": j.LastRuntime.String(),
|
||||||
"output": j.LastOutput,
|
//"output": j.LastOutput,
|
||||||
"status": j.LastStatus,
|
"status": j.LastStatus,
|
||||||
}
|
}
|
||||||
return out
|
return out
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue