fix: reword autostop reminder to use relative countdown (#26948)

This commit is contained in:
Jon Ayers
2026-07-01 21:24:42 -05:00
committed by GitHub
parent 40bceeaf8d
commit cda7a9d4f4
7 changed files with 18 additions and 14 deletions
+2 -2
View File
@@ -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.