Closed 1oglop1 closed 1 year ago
Modify cmd/server.go
switch viper.GetString("jobdb") { case "boltdb": db = boltdb.GetBoltDB(viper.GetString("boltpath"))
Change to db = boltdb.GetBoltDB(viper.GetString("bolt-path"))
Run it : ./kala serve --jobdb=boltdb --bolt-path=/data/db
Ah thanks for the workaround, I was looking at this piece of code but not knowing enough about used frameworks it did not strike me that there is a typo!
Hi, I tried to use kala with BoltDB inside the docker container and wanted to use the parameter
--bolt-path
to specify the file location, however it does not seem to do anything and kala still createsjobdb.db
file in the same directory askala
executable.Could you confirm this is the case or am I doing something wrong? Thank you!