Skip to content

Commit eebb298

Browse files
refactor: fix SQL comment
1 parent a47627a commit eebb298

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

coderd/database/querier.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/database/queries.sql.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/database/queries/prebuilds.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ WHERE (b.transition = 'start'::workspace_transition
5757
AND b.job_status = 'succeeded'::provisioner_job_status);
5858

5959
-- name: CountInProgressPrebuilds :many
60-
-- CountInProgressPrebuilds returns the number of in-progress prebuilds, grouped by template version ID and transition.
60+
-- CountInProgressPrebuilds returns the number of in-progress prebuilds, grouped by preset ID and transition.
6161
-- Prebuild considered in-progress if it's in the "starting", "stopping", or "deleting" state.
6262
SELECT t.id AS template_id, wpb.template_version_id, wpb.transition, COUNT(wpb.transition)::int AS count, wlb.template_version_preset_id as preset_id
6363
FROM workspace_latest_builds wlb

0 commit comments

Comments
 (0)