Skip to content

Commit cca518d

Browse files
fix: indentation
1 parent 3ef469a commit cca518d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

coderd/database/queries.sql.go

Lines changed: 3 additions & 3 deletions
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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,13 +151,13 @@ time_sorted_builds AS (
151151
FROM filtered_builds fb
152152
)
153153
SELECT
154-
tsb.template_version_id,
155-
tsb.preset_id
154+
tsb.template_version_id,
155+
tsb.preset_id
156156
FROM time_sorted_builds tsb
157157
-- Fetch the last hard_limit builds for each preset.
158158
-- If all of them failed, it's considered a permanent error - stop retrying.
159159
WHERE tsb.rn <= @hard_limit::bigint
160-
AND tsb.job_status = 'failed'::provisioner_job_status
160+
AND tsb.job_status = 'failed'::provisioner_job_status
161161
GROUP BY tsb.template_version_id, tsb.preset_id
162162
HAVING COUNT(*) = @hard_limit::bigint;
163163

0 commit comments

Comments
 (0)