mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
To avoid the confusing in log, change '%s' to '%q', change the question sentence to a reminding sentence.
Signed-off-by: Zen Lin(Zhinan Lin) <linzhinan@huawei.com>
This commit is contained in:
parent
f5850e8e30
commit
08ea03ccb9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue