Merge pull request #2964 from andrewsmedina/gofmt2

go fmt.
This commit is contained in:
Guillaume J. Charmes 2013-11-29 17:19:28 -08:00
commit a7b957f06f

View file

@ -47,7 +47,7 @@ func pingRegistryEndpoint(endpoint string) error {
if err != nil { if err != nil {
return err return err
} }
defer resp.Body.Close() defer resp.Body.Close()
if resp.Header.Get("X-Docker-Registry-Version") == "" { if resp.Header.Get("X-Docker-Registry-Version") == "" {
return errors.New("This does not look like a Registry server (\"X-Docker-Registry-Version\" header not found in the response)") return errors.New("This does not look like a Registry server (\"X-Docker-Registry-Version\" header not found in the response)")