aboutsummaryrefslogtreecommitdiff
path: root/cmd/cashierd
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2016-08-08 23:39:46 +0100
committerNiall Sheridan <nsheridan@gmail.com>2016-08-09 22:07:58 +0100
commit030ff273473f0a5620ba276a370e5119f57179df (patch)
tree035f1d5f629a228f5d4a170583e92726dbefb604 /cmd/cashierd
parent66a7d51577c83da7cc3cf385a188799fe885cd3a (diff)
SQLite DB support
Diffstat (limited to 'cmd/cashierd')
-rw-r--r--cmd/cashierd/main.go4
1 files changed, 2 insertions, 2 deletions
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":