Commit 25f0fb7
Return direct image for durable requests on the V1 endpoint (#1090)
makeResponseV2 already returns the direct target-registry image for
freeze/mirror (durable) requests, but makeResponseV1 kept handing back
the Wave proxy token url. Since durable images are no longer served via
the proxy token path (see RouteHandler), V1 freeze clients pulling via
targetImage would 404. Resolve targetImage to the direct image for
durable requests on V1 too, matching V2.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 6ecbee0 commit 25f0fb7
2 files changed
Lines changed: 28 additions & 2 deletions
File tree
- src
- main/groovy/io/seqera/wave/util
- test/groovy/io/seqera/wave/util
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
120 | 122 | | |
121 | 123 | | |
122 | 124 | | |
| |||
Lines changed: 25 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
| 256 | + | |
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
262 | 286 | | |
263 | 287 | | |
264 | 288 | | |
| |||
0 commit comments