Skip to content

Commit f6db3c7

Browse files
committed
Improve verbiage
1 parent ee7d542 commit f6db3c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

coderd/workspaces.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ func (api *API) putWorkspaceDormant(rw http.ResponseWriter, r *http.Request) {
955955
if req.Dormant && apiKey.UserID != workspace.OwnerID {
956956
initiator, err := api.Database.GetUserByID(ctx, apiKey.UserID)
957957
if err != nil {
958-
api.Logger.Warn(ctx, "failed to get the initiator by id", slog.Error(err))
958+
api.Logger.Warn(ctx, "failed to fetch the user that marked the workspace as dormant", slog.Error(err))
959959
} else {
960960
_, err = dormancy.NotifyWorkspaceDormant(
961961
ctx,

enterprise/coderd/schedule/template.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ func (s *EnterpriseTemplateScheduleStore) Set(ctx context.Context, db database.S
210210
dormancy.WorkspaceDormantNotification{
211211
Workspace: workspace,
212212
Initiator: "system",
213-
Reason: "template schedule update",
213+
Reason: "template updated to new dormancy policy",
214214
CreatedBy: "scheduletemplate",
215215
},
216216
)

0 commit comments

Comments
 (0)