Commit 0fb0e67
committed
fix(container-pull): fix LTS case sensitivity and return LTS-tagged image
The registry uses lowercase "-lts" suffix on LTS tags (e.g. 7.32.0-18504-1-lts),
but the version channel resolver was grepping for uppercase "-LTS", causing LTS/LTS-1
to always die with "No LTS versions found" and the N-1/N-2 exclusion to silently
leak LTS tags into the candidate list.
Also changes LTS/LTS-1 resolution to return the full "-lts" tagged image directly
rather than extracting the major.minor prefix, which previously caused match_sensor_version
to select the latest non-LTS build of that line instead of the designated LTS build.1 parent e8ab6a4 commit 0fb0e67
1 file changed
Lines changed: 8 additions & 6 deletions
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
504 | 504 | | |
505 | 505 | | |
506 | 506 | | |
507 | | - | |
| 507 | + | |
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
515 | | - | |
| 515 | + | |
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
522 | 522 | | |
523 | | - | |
| 523 | + | |
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
527 | 527 | | |
528 | | - | |
| 528 | + | |
| 529 | + | |
529 | 530 | | |
530 | 531 | | |
531 | | - | |
| 532 | + | |
532 | 533 | | |
533 | 534 | | |
534 | 535 | | |
535 | 536 | | |
536 | 537 | | |
537 | 538 | | |
538 | 539 | | |
539 | | - | |
| 540 | + | |
| 541 | + | |
540 | 542 | | |
541 | 543 | | |
542 | 544 | | |
| |||
0 commit comments