Explorar o código

Merge pull request #11073 from zenlinTechnofreak/zenlinlogerrfix

To avoid the confusing in log, change '%s' to '%q', change the question ...
Phil Estes %!s(int64=10) %!d(string=hai) anos
pai
achega
a3dc3bb758
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      docker/docker.go

+ 1 - 1
docker/docker.go

@@ -111,7 +111,7 @@ func main() {
 			*flTls = true
 			cert, err := tls.LoadX509KeyPair(*flCert, *flKey)
 			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}
 		}