Skip to content

Commit d72de31

Browse files
committed
Use LastRunStartedAt (LastRun is deprecated)
1 parent 1d9bdbe commit d72de31

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

services/cron/cron.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ func ListTasks() TaskTable {
111111
spec = tags[1] // the second tag is the task spec
112112
}
113113
next, _ = e.NextRun()
114-
prev, _ = e.LastRun()
114+
prev, _ = e.LastRunStartedAt()
115115
}
116116

117117
task.lock.Lock()

0 commit comments

Comments
 (0)