Skip certificate check (don't error out on self-signed certs)

Upstream-commit: 1c817913eee7d87badc2a2748447729619d8aaf0
Component: engine
This commit is contained in:
shin-
2013-06-28 18:19:58 +02:00
parent 1f3a1ee5ca
commit 6af1e08d14
+2
View File
@@ -2,6 +2,7 @@ package registry
import (
"bytes"
"crypto/tls"
"encoding/json"
"errors"
"fmt"
@@ -164,6 +165,7 @@ func (r *Registry) GetRemoteTags(registries []string, repository string, token [
if err != nil {
return nil, err
}
utils.Debugf("Got status code %d from %s", res.StatusCode, endpoint)
defer res.Body.Close()