Use SQLite store as default when running tests when env is not set (#1612)

This commit is contained in:
Yury Gargay 2024-02-22 16:51:56 +01:00 committed by GitHub
parent b7a6cbfaa5
commit bbea4c3cc3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -111,6 +111,6 @@ func NewStoreFromJson(dataDir string, metrics telemetry.AppMetrics) (Store, erro
case SqliteStoreEngine:
return NewSqliteStoreFromFileStore(fstore, dataDir, metrics)
default:
return nil, fmt.Errorf("unsupported store engine %s", kind)
return NewSqliteStoreFromFileStore(fstore, dataDir, metrics)
}
}