mirror of
https://github.com/containers/skopeo.git
synced 2025-09-05 16:50:45 +00:00
update codegangsta/cli + fix Travis + todos
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
7
vendor/github.com/docker/go-connections/tlsconfig/config.go
generated
vendored
7
vendor/github.com/docker/go-connections/tlsconfig/config.go
generated
vendored
@@ -72,12 +72,7 @@ func certPool(caFile string) (*x509.CertPool, error) {
|
||||
if !certPool.AppendCertsFromPEM(pem) {
|
||||
return nil, fmt.Errorf("failed to append certificates from PEM file: %q", caFile)
|
||||
}
|
||||
s := certPool.Subjects()
|
||||
subjects := make([]string, len(s))
|
||||
for i, subject := range s {
|
||||
subjects[i] = string(subject)
|
||||
}
|
||||
logrus.Debugf("Trusting certs with subjects: %v", subjects)
|
||||
logrus.Debugf("Trusting %d certs", len(certPool.Subjects()))
|
||||
return certPool, nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user