migrate reference github.com/distribution/reference

The "reference" package was moved to a separate module, which was extracted
from https://github.com/distribution/distribution/commit/b9b19409cf458dcb9e1253ff44ba75bd0620faa6

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2023-09-05 17:53:20 +02:00
parent 25ce44280b
commit fb2ba5d63b
48 changed files with 1514 additions and 38 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ func TestNewPullCommandErrors(t *testing.T) {
},
{
name: "invalid-name",
expectedError: "invalid reference format: repository name must be lowercase",
expectedError: "invalid reference format: repository name (library/UPPERCASE_REPO) must be lowercase",
args: []string{"UPPERCASE_REPO"},
},
{