mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
improv api, datastore, postgres, runner
This commit is contained in:
@@ -34,7 +34,7 @@ func extractFields(c *gin.Context) logrus.Fields {
|
||||
func (s *Server) Start() {
|
||||
if s.cfg.DatabaseURL == "" {
|
||||
cwd, _ := os.Getwd()
|
||||
s.cfg.DatabaseURL = fmt.Sprintf("bolt://%s/bolt.db?bucket=fns", cwd)
|
||||
s.cfg.DatabaseURL = fmt.Sprintf("bolt://%s/bolt.db?bucket=funcs", cwd)
|
||||
}
|
||||
|
||||
ds, err := datastore.New(s.cfg.DatabaseURL)
|
||||
|
||||
Reference in New Issue
Block a user