fix(etcd): fatal when err != nil

stupid typo, fix
This commit is contained in:
Brandon Philips 2013-08-10 20:16:37 -07:00
parent eb8f1dc6eb
commit 7db07aa96a

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)
}