Commit bd4b055
to-disk: Fix containers-storage prefix duplication
When bcvk to-disk was called with a containers-storage: prefixed
image reference, it would duplicate the prefix resulting in
'containers-storage:containers-storage:...' which caused the
bootc install to fail with 'invalid reference format'.
Strip the containers-storage: prefix if present before adding it
back, ensuring both prefixed and unprefixed inputs normalize to
the same format.
Signed-off-by: gursewak1997 <gursmangat@gmail.com>1 parent 55f0fa5 commit bd4b055
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
386 | 394 | | |
387 | 395 | | |
388 | 396 | | |
| |||
0 commit comments