File tree Expand file tree Collapse file tree 7 files changed +12
-12
lines changed Expand file tree Collapse file tree 7 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ require (
9
9
github.com/blang/semver/v4 v4.0.0
10
10
github.com/coredns/corefile-migration v1.0.21
11
11
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
12
- github.com/distribution/reference v0.5 .0
12
+ github.com/distribution/reference v0.6 .0
13
13
github.com/drone/envsubst/v2 v2.0.0-20210730161058-179042472c46
14
14
github.com/evanphx/json-patch/v5 v5.9.0
15
15
github.com/fatih/color v1.16.0
Original file line number Diff line number Diff line change @@ -107,8 +107,8 @@ github.com/daviddengcn/go-colortext v1.0.0 h1:ANqDyC0ys6qCSvuEK7l3g5RaehL/Xck9EX
107
107
github.com/daviddengcn/go-colortext v1.0.0 /go.mod h1:zDqEI5NVUop5QPpVJUxE9UO10hRnmkD5G4Pmri9+m4c =
108
108
github.com/dgrijalva/jwt-go v3.2.0+incompatible /go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ =
109
109
github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954 /go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no =
110
- github.com/distribution/reference v0.5 .0 h1:/FUIFXtfc/x2gpa5/VGfiGLuOIdYa1t65IKK2OFGvA0 =
111
- github.com/distribution/reference v0.5 .0 /go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E =
110
+ github.com/distribution/reference v0.6 .0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5QvfrDyIgxBk =
111
+ github.com/distribution/reference v0.6 .0 /go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E =
112
112
github.com/drone/envsubst/v2 v2.0.0-20210730161058-179042472c46 h1:7QPwrLT79GlD5sizHf27aoY2RTvw62mO6x7mxkScNk0 =
113
113
github.com/drone/envsubst/v2 v2.0.0-20210730161058-179042472c46 /go.mod h1:esf2rsHFNlZlxsqsZDojNBcnNs5REqIvRrWRHqX0vEU =
114
114
github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY =
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ require (
60
60
github.com/cloudflare/circl v1.3.7 // indirect
61
61
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
62
62
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
63
- github.com/distribution/reference v0.5 .0 // indirect
63
+ github.com/distribution/reference v0.6 .0 // indirect
64
64
github.com/docker/docker v26.0.2+incompatible // indirect
65
65
github.com/docker/go-connections v0.5.0 // indirect
66
66
github.com/docker/go-units v0.4.0 // indirect
Original file line number Diff line number Diff line change @@ -77,8 +77,8 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
77
77
github.com/davecgh/go-spew v1.1.1 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
78
78
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM =
79
79
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
80
- github.com/distribution/reference v0.5 .0 h1:/FUIFXtfc/x2gpa5/VGfiGLuOIdYa1t65IKK2OFGvA0 =
81
- github.com/distribution/reference v0.5 .0 /go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E =
80
+ github.com/distribution/reference v0.6 .0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5QvfrDyIgxBk =
81
+ github.com/distribution/reference v0.6 .0 /go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E =
82
82
github.com/docker/docker v26.0.2+incompatible h1:yGVmKUFGgcxA6PXWAokO0sQL22BrQ67cgVjko8tGdXE =
83
83
github.com/docker/docker v26.0.2+incompatible /go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk =
84
84
github.com/docker/go-connections v0.5.0 h1:USnMq7hx7gwdVZq1L49hLXaFtUdTADjXGp+uj1Br63c =
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ require (
61
61
github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf // indirect
62
62
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
63
63
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
64
- github.com/distribution/reference v0.5 .0 // indirect
64
+ github.com/distribution/reference v0.6 .0 // indirect
65
65
github.com/docker/go-units v0.4.0 // indirect
66
66
github.com/drone/envsubst/v2 v2.0.0-20210730161058-179042472c46 // indirect
67
67
github.com/evanphx/json-patch v5.7.0+incompatible // indirect
Original file line number Diff line number Diff line change @@ -79,8 +79,8 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
79
79
github.com/davecgh/go-spew v1.1.1 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
80
80
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM =
81
81
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
82
- github.com/distribution/reference v0.5 .0 h1:/FUIFXtfc/x2gpa5/VGfiGLuOIdYa1t65IKK2OFGvA0 =
83
- github.com/distribution/reference v0.5 .0 /go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E =
82
+ github.com/distribution/reference v0.6 .0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5QvfrDyIgxBk =
83
+ github.com/distribution/reference v0.6 .0 /go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E =
84
84
github.com/docker/docker v26.0.2+incompatible h1:yGVmKUFGgcxA6PXWAokO0sQL22BrQ67cgVjko8tGdXE =
85
85
github.com/docker/docker v26.0.2+incompatible /go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk =
86
86
github.com/docker/go-connections v0.5.0 h1:USnMq7hx7gwdVZq1L49hLXaFtUdTADjXGp+uj1Br63c =
Original file line number Diff line number Diff line change @@ -176,9 +176,9 @@ func TestModifyImageRepository(t *testing.T) {
176
176
wantErrMessage : "" ,
177
177
},
178
178
{
179
- name : "errors if the repository name is too long" ,
180
- image : "example.com/image :1.17.3" ,
181
- repo : strings . Repeat ( "a" , 255 ) ,
179
+ name : "errors if the image name is too long" ,
180
+ image : "example.com/" + strings . Repeat ( "a" , 255 ) + " :1.17.3" ,
181
+ repo : testRepository ,
182
182
want : "" ,
183
183
wantError : true ,
184
184
wantErrMessage : reference .ErrNameTooLong .Error (),
You can’t perform that action at this time.
0 commit comments