mirror of
https://github.com/pikami/cosmium.git
synced 2026-04-20 05:18:52 +01:00
Added support for initial data loading when using badger db
This commit is contained in:
@@ -94,11 +94,6 @@ func (c *ServerConfig) PopulateCalculatedFields() {
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
||||
if c.DataStore == DataStoreBadger && c.InitialDataFilePath != "" {
|
||||
logger.ErrorLn("InitialData option is currently not supported with Badger data store")
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
||||
func (c *ServerConfig) ApplyDefaultsToEmptyFields() {
|
||||
|
||||
Reference in New Issue
Block a user