Skip to content

Commit d9a795f

Browse files
authored
Update cli/ssh.go
1 parent 41306aa commit d9a795f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/ssh.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ func notifyCondition(ctx context.Context, client *codersdk.Client, workspaceID u
296296
if ttl > time.Minute {
297297
title = fmt.Sprintf(`Workspace %s stopping soon`, ws.Name)
298298
body = fmt.Sprintf(
299-
`Your Coder workspace %s is scheduled to stop in %s`, ws.Name, ttl)
299+
`Your Coder workspace %s is scheduled to stop in %.0f mins`, ws.Name, ttl.Minutes())
300300
} else {
301301
title = fmt.Sprintf("Workspace %s stopping!", ws.Name)
302302
body = fmt.Sprintf("Your Coder workspace %s is stopping any time now!", ws.Name)

0 commit comments

Comments
 (0)