mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-04 23:16:37 +08:00
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -39,7 +39,7 @@ func setupOpenFlareAccessLogTestEnvironment(t *testing.T) (context.Context, func
|
|||||||
|
|
||||||
logstore.ResetForTest()
|
logstore.ResetForTest()
|
||||||
logstore.SetConfigReader(func(_ context.Context, key string) (string, error) {
|
logstore.SetConfigReader(func(_ context.Context, key string) (string, error) {
|
||||||
if key == "log_database" {
|
if key == model.ConfigKeyLogDatabase {
|
||||||
return "sqlite", nil
|
return "sqlite", nil
|
||||||
}
|
}
|
||||||
return "", nil
|
return "", nil
|
||||||
|
|||||||
Reference in New Issue
Block a user