mirror of https://github.com/docker/docs.git
Merge pull request #11073 from zenlinTechnofreak/zenlinlogerrfix
To avoid the confusing in log, change '%s' to '%q', change the question ...
This commit is contained in:
commit
a3dc3bb758
|
@ -111,7 +111,7 @@ func main() {
|
||||||
*flTls = true
|
*flTls = true
|
||||||
cert, err := tls.LoadX509KeyPair(*flCert, *flKey)
|
cert, err := tls.LoadX509KeyPair(*flCert, *flKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalf("Couldn't load X509 key pair: %s. Key encrypted?", err)
|
log.Fatalf("Couldn't load X509 key pair: %q. Make sure the key is encrypted", err)
|
||||||
}
|
}
|
||||||
tlsConfig.Certificates = []tls.Certificate{cert}
|
tlsConfig.Certificates = []tls.Certificate{cert}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue