mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: reword autostop reminder to use relative countdown (#26948)
This commit is contained in:
@@ -565,8 +565,8 @@ func (e *Executor) runOnce(t time.Time) Stats {
|
||||
ws.OwnerID,
|
||||
notifications.TemplateWorkspaceAutostopReminder,
|
||||
map[string]string{
|
||||
"workspace": ws.Name,
|
||||
"deadline": reminderDeadline.UTC().Format(time.RFC1123),
|
||||
"workspace": ws.Name,
|
||||
"timeTilShutdown": humanize.Time(reminderDeadline),
|
||||
},
|
||||
"lifecycle_executor",
|
||||
// Associate this notification with all the related entities.
|
||||
|
||||
Reference in New Issue
Block a user