fix(etcd): fatal when err != nil

stupid typo, fix
release-0.4
Brandon Philips 2013-08-10 20:16:37 -07:00
parent eb8f1dc6eb
commit 7db07aa96a
1 changed files with 1 additions and 1 deletions

View File

@ -474,7 +474,7 @@ func tlsConfigFromInfo(info TLSInfo) (t TLSConfig, ok bool) {
}
tlsCert, err = tls.LoadX509KeyPair(certFile, keyFile)
if err == nil {
if err != nil {
fatal(err)
}