mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-19 05:58:10 -07:00
db: Remove SQLite db, hopefully looking up clients still works.Channel persistence is broken by this, will fix it later.
This commit is contained in:
+1
-5
@@ -84,8 +84,7 @@ type Config struct {
|
||||
}
|
||||
|
||||
Datastore struct {
|
||||
Path string
|
||||
SQLitePath string `yaml:"sqlite-path"`
|
||||
Path string
|
||||
}
|
||||
|
||||
Registration struct {
|
||||
@@ -152,9 +151,6 @@ func LoadConfig(filename string) (config *Config, err error) {
|
||||
if config.Datastore.Path == "" {
|
||||
return nil, errors.New("Datastore path missing")
|
||||
}
|
||||
if config.Datastore.SQLitePath == "" {
|
||||
return nil, errors.New("SQLite database path missing")
|
||||
}
|
||||
if len(config.Server.Listen) == 0 {
|
||||
return nil, errors.New("Server listening addresses missing")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user