Added support for initial data loading when using badger db

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

No files matched your search

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