- Notifications
You must be signed in to change notification settings - Fork1
Commit2ce2aa1
authored
fix: improve ssh config logic when workspaces change (#59)
- previously, ssh reconfiguration was triggered only when new workspaceswere added, andthe ssh config was generated only with the additional environmentsremoving the configurationfor the previous ones. This means that when a new workspace is createdfrom the web dashboard, the old workspaces are no longer accessible via ssh from Toolbox- now, the logic ensures ssh reconfiguration happens whenever the set ofenvironments changes(including additions or removals), making it more robust, andconfiguration happens for all valid workspaces.-resolves#141 parentddfffe1 commit2ce2aa1
File tree
3 files changed
+11
-9
lines changed- src/main/kotlin/com/coder/toolbox
3 files changed
+11
-9
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
5 | 9 |
| |
6 | 10 |
| |
7 | 11 |
| |
|
Lines changed: 2 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
194 | 194 |
| |
195 | 195 |
| |
196 | 196 |
| |
197 |
| - | |
| 197 | + | |
198 | 198 |
| |
199 |
| - | |
200 |
| - | |
| 199 | + | |
201 | 200 |
| |
202 | 201 |
| |
203 | 202 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
113 | 113 |
| |
114 | 114 |
| |
115 | 115 |
| |
116 |
| - | |
117 |
| - | |
118 |
| - | |
119 |
| - | |
120 |
| - | |
121 |
| - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
122 | 121 |
| |
123 | 122 |
| |
124 | 123 |
| |
|
0 commit comments
Comments
(0)