Add test for the rights of /metrics route

This commit is contained in:
Clément Renault 2022-08-24 17:03:43 +02:00
parent f0b2ac6efb
commit bebd76064a
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
2 changed files with 2 additions and 0 deletions

View file

@ -162,6 +162,7 @@ pub fn default_settings(dir: impl AsRef<Path>) -> Opt {
max_indexing_memory: MaxMemory::unlimited(),
..Parser::parse_from(None as Option<&str>)
},
enable_metrics_route: true,
..Parser::parse_from(None as Option<&str>)
}
}