mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: add workspace activity linter (#13273)
This commit is contained in:
@@ -169,6 +169,7 @@ func (s *EnterpriseTemplateScheduleStore) Set(ctx context.Context, db database.S
|
||||
}
|
||||
|
||||
if opts.UpdateWorkspaceLastUsedAt {
|
||||
// nolint:gocritic // (#13146) Will be moved soon as part of refactor.
|
||||
err = tx.UpdateTemplateWorkspacesLastUsedAt(ctx, database.UpdateTemplateWorkspacesLastUsedAtParams{
|
||||
TemplateID: tpl.ID,
|
||||
LastUsedAt: dbtime.Now(),
|
||||
|
||||
Reference in New Issue
Block a user