Skip to content

Commit e42f982

Browse files
authored
fix: Correct client ping endpoint (#278)
1 parent 3770aa4 commit e42f982

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/registry/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ func (client *registryClient) TagMetadata(manifest distribution.Manifest) (*tag.
260260
// Without this, tokenHandler and AuthorizationHandler won't work
261261
func ping(manager challenge.Manager, endpoint *RegistryEndpoint, versionHeader string) ([]auth.APIVersion, error) {
262262
httpc := &http.Client{Transport: endpoint.GetTransport()}
263-
resp, err := httpc.Get(endpoint.RegistryAPI + "/v2")
263+
resp, err := httpc.Get(endpoint.RegistryAPI + "/v2/")
264264
if err != nil {
265265
return nil, err
266266
}

0 commit comments

Comments
 (0)