Skip to content

Commit

Permalink
show reserved runners in process list
Browse files Browse the repository at this point in the history
  • Loading branch information
matt2e committed Mar 11, 2024
1 parent 4673256 commit ef7ba66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/controller/sql/queries.sql
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ SELECT d.min_replicas,
r.endpoint,
r.labels AS runner_labels
FROM deployments d
LEFT JOIN runners r on d.id = r.deployment_id AND r.state = 'assigned'
LEFT JOIN runners r on d.id = r.deployment_id AND r.state != 'dead'
WHERE d.min_replicas > 0
ORDER BY d.name;

Expand Down
2 changes: 1 addition & 1 deletion backend/controller/sql/queries.sql.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ef7ba66

Please sign in to comment.