forked from TrueCloudLab/distribution
Fixed ping URL
This commit is contained in:
parent
16fa043e34
commit
98060903a9
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ import (
|
||||||
var ErrAlreadyExists = errors.New("Image already exists")
|
var ErrAlreadyExists = errors.New("Image already exists")
|
||||||
|
|
||||||
func pingRegistryEndpoint(endpoint string) error {
|
func pingRegistryEndpoint(endpoint string) error {
|
||||||
resp, err := http.Get(endpoint + "/_ping")
|
resp, err := http.Get(endpoint + "_ping")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue