Skip to content

Commit 609f407

Browse files
committed
add comment to a few more places
1 parent 774337d commit 609f407

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

coderd/database/queries.sql.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/database/queries/workspaces.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ WHERE
301301
WHERE
302302
workspace_resources.job_id = latest_build.provisioner_job_id AND
303303
latest_build.transition = 'start'::workspace_transition AND
304+
-- Filter out deleted sub agents.
304305
workspace_agents.deleted = FALSE AND
305306
@has_agent = (
306307
CASE
@@ -825,6 +826,7 @@ LEFT JOIN LATERAL (
825826
FROM workspace_resources
826827
JOIN workspace_agents ON (
827828
workspace_agents.resource_id = workspace_resources.id
829+
-- Filter out deleted sub agents.
828830
AND workspace_agents.deleted = FALSE
829831
)
830832
WHERE job_id = latest_build.job_id

0 commit comments

Comments
 (0)