Added support for initial data loading when using badger db

This commit is contained in:
Pijus Kamandulis
2025-09-16 20:21:27 +03:00
parent 89b914310c
commit 4872ec72fd
6 changed files with 84 additions and 9 deletions

View File

@@ -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() {