mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
reference: Do not drop the underlying error message
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
972c6a7113
commit
69dae0a5fb
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ type Canonical interface {
|
|||
func ParseNamed(s string) (Named, error) {
|
||||
named, err := distreference.ParseNamed(s)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("Error parsing reference: %q is not a valid repository/tag", s)
|
||||
return nil, fmt.Errorf("Error parsing reference: %q is not a valid repository/tag: %s", s, err)
|
||||
}
|
||||
r, err := WithName(named.Name())
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Reference in a new issue