Merge pull request #2202 from helderco/quote-error
chore: Quote value in error
This commit is contained in:
commit
1598ed9841
@ -61,7 +61,7 @@ func (t exportTask) Run(ctx context.Context, pctx *plancontext.Context, s *solve
|
|||||||
// Normalize tag
|
// Normalize tag
|
||||||
tag, err := reference.ParseNormalizedNamed(opts.Tag)
|
tag, err := reference.ParseNormalizedNamed(opts.Tag)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("failed to parse ref %s: %w", opts.Tag, err)
|
return nil, fmt.Errorf("failed to parse ref %q: %w", opts.Tag, err)
|
||||||
}
|
}
|
||||||
tag = reference.TagNameOnly(tag)
|
tag = reference.TagNameOnly(tag)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user