1
0
mirror of https://github.com/netbirdio/netbird.git synced 2025-07-14 05:15:08 +02:00

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

This commit is contained in:
Yury Gargay
2024-02-22 16:51:56 +01:00
committed by GitHub
parent b7a6cbfaa5
commit bbea4c3cc3

@ -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)
}
}