Commit fc4092e
refactor(init): construct the LocalStack adapter inside the interop server
The adapter was hoisted into main.go "so it can be shared with the
interop server", but nothing in main.go uses it after the constructor
call — main reaches the adapter through interopServer.localStackAdapter.
Revert to in-constructor creation and drop the extra parameter. Also fix
a stale comment in events.go referencing a CustomInteropServer.onDemand
field that does not exist.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent a6c21d0 commit fc4092e
3 files changed
Lines changed: 13 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
109 | 112 | | |
110 | 113 | | |
111 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | 198 | | |
205 | 199 | | |
206 | 200 | | |
| |||
250 | 244 | | |
251 | 245 | | |
252 | 246 | | |
253 | | - | |
| 247 | + | |
254 | 248 | | |
255 | 249 | | |
256 | 250 | | |
| |||
0 commit comments