From 030ff273473f0a5620ba276a370e5119f57179df Mon Sep 17 00:00:00 2001 From: Niall Sheridan Date: Mon, 8 Aug 2016 23:39:46 +0100 Subject: SQLite DB support --- cmd/cashierd/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd/cashierd') diff --git a/cmd/cashierd/main.go b/cmd/cashierd/main.go index b92bd9e..bc7cba4 100644 --- a/cmd/cashierd/main.go +++ b/cmd/cashierd/main.go @@ -297,8 +297,8 @@ func certStore(config string) (store.CertStorer, error) { var err error engine := strings.Split(config, ":")[0] switch engine { - case "mysql": - cstore, err = store.NewMySQLStore(config) + case "mysql", "sqlite": + cstore, err = store.NewSQLStore(config) case "mongo": cstore, err = store.NewMongoStore(config) case "mem": -- cgit v1.2.3