Commit fae480c
committed
fix: include reference string in invalid reference format error (#1303)
When NewRepository fails to parse an image reference, log the actual
reference string that failed validation. This makes it possible to
identify which image reference is causing the "invalid reference format"
error.
Previously, users would see:
Could not get tags from registry: invalid reference format
Now users will see:
Failed to create repository for image 'invalid@reference': invalid reference format
This provides the necessary context to debug configuration issues with
malformed image references.
Fixes #1303
Signed-off-by: Ellis Valentiner <[email protected]>1 parent 58d2b7e commit fae480c
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
0 commit comments