We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37a1c1d commit e5f78feCopy full SHA for e5f78fe
reference/docker/normalize.go
@@ -17,7 +17,6 @@
17
package docker
18
19
import (
20
- "errors"
21
"fmt"
22
"strings"
23
@@ -57,7 +56,7 @@ func ParseNormalizedNamed(s string) (Named, error) {
57
56
remoteName = remainder
58
}
59
if strings.ToLower(remoteName) != remoteName {
60
- return nil, errors.New("invalid reference format: repository name must be lowercase")
+ return nil, fmt.Errorf("invalid reference format: repository name (%s) must be lowercase", remoteName)
61
62
63
ref, err := Parse(domain + "/" + remainder)
0 commit comments