Commit a49c91c
committed
fix: remove unnecessary resp nil guards in runner group Read/Update
The response is always non-nil on the success path — if the API call
errors we return early, and even the 304 Not Modified path returns
a valid response object. The fallback to the stored ETag was unreachable.1 parent 03c3c25 commit a49c91c
2 files changed
Lines changed: 4 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
| 268 | + | |
272 | 269 | | |
273 | 270 | | |
274 | 271 | | |
| |||
390 | 387 | | |
391 | 388 | | |
392 | 389 | | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
| 390 | + | |
397 | 391 | | |
398 | 392 | | |
399 | 393 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
| 254 | + | |
258 | 255 | | |
259 | 256 | | |
260 | 257 | | |
| |||
373 | 370 | | |
374 | 371 | | |
375 | 372 | | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
| 373 | + | |
380 | 374 | | |
381 | 375 | | |
382 | 376 | | |
| |||
0 commit comments