Remove prototyping code which is commented out

This comments are ment for future development and not for the main
branch yet.
This commit is contained in:
finga 2021-11-14 11:58:34 +01:00
parent 4a54aabf26
commit 3a482a3eb9
2 changed files with 0 additions and 3 deletions

View file

@ -63,7 +63,6 @@ struct MetricsConfig {
#[derive(Debug, Deserialize, Serialize)]
#[serde(deny_unknown_fields)]
struct Config {
// default: Option<ConfigDefault>,
metrics: Option<MetricsConfig>,
hooks: BTreeMap<String, Hook>,
}

View file

@ -107,8 +107,6 @@ impl JsonFilter {
pub enum FilterType {
And(Vec<FilterType>),
Or(Vec<FilterType>),
// #[serde(rename = "header")]
// HeaderFilter(HeaderFilter),
#[serde(rename = "json")]
JsonFilter(JsonFilter),
}