From 7146e3b1e97b5f782ea1ff8fadf9cfa7805a48ea Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Fri, 8 Aug 2014 10:55:25 -0700 Subject: [PATCH] camlistored: change an ioutil.ReadFile to wkfs Change-Id: Id5d50d33bcfb7395b55f0f28776e1f6c880ccf46 --- server/camlistored/camlistored.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/camlistored/camlistored.go b/server/camlistored/camlistored.go index 6f520fc44..07b2fe0b8 100644 --- a/server/camlistored/camlistored.go +++ b/server/camlistored/camlistored.go @@ -284,7 +284,7 @@ func setupTLS(ws *webserver.Server, config *serverinit.Config, listen string) { cert = defCert key = defKey } - data, err := ioutil.ReadFile(cert) + data, err := wkfs.ReadFile(cert) if err != nil { exitf("Failed to read pem certificate: %s", err) }