Commit db82812
committed
fix: provide latest resources for agent matching
Before agent matching we check the state of a workspace and if it is stopped
we automatically start it (if Disable autostart is not enabled). However the
agent matching code still received an old copy of the stopped workspace. Stopped
workspaces don't have resources.1 parent fd55a2c commit db82812
File tree
2 files changed
+6
-2
lines changed- src/main/kotlin/com/coder/toolbox
- util
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | 112 | | |
114 | 113 | | |
115 | 114 | | |
| |||
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
79 | 84 | | |
80 | 85 | | |
81 | 86 | | |
| |||
0 commit comments