mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
fix the tests and add tests on the experimental features
This commit is contained in:
parent
7793ba67a4
commit
e23ec4886d
8 changed files with 50 additions and 6 deletions
|
@ -48,8 +48,8 @@ impl RoFeatures {
|
|||
Ok(())
|
||||
} else {
|
||||
Err(FeatureNotEnabledError {
|
||||
disabled_action: "Getting logs",
|
||||
feature: "logsRoute",
|
||||
disabled_action: "getting logs through the `/logs` route",
|
||||
feature: "logs route",
|
||||
/// Update the discussion link
|
||||
issue_link: "https://github.com/meilisearch/product/discussions/625",
|
||||
}
|
||||
|
@ -95,6 +95,7 @@ impl FeatureData {
|
|||
runtime_features_db.get(&txn, EXPERIMENTAL_FEATURES)?.unwrap_or_default();
|
||||
let runtime = Arc::new(RwLock::new(RuntimeTogglableFeatures {
|
||||
metrics: instance_features.metrics || persisted_features.metrics,
|
||||
logs_route: instance_features.logs_route || persisted_features.logs_route,
|
||||
..persisted_features
|
||||
}));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue