Handle the CLI options related to snapshots

This commit is contained in:
Kerollmops 2022-10-25 16:28:33 +02:00 committed by Clément Renault
parent 942b7c338b
commit 4736e00253
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
3 changed files with 39 additions and 29 deletions

View file

@ -46,7 +46,6 @@ async fn main() -> anyhow::Result<()> {
}
let (index_scheduler, auth_controller) = setup_meilisearch(&opt)?;
let index_scheduler = Arc::new(index_scheduler);
#[cfg(all(not(debug_assertions), feature = "analytics"))]
let analytics = if !opt.no_analytics {