Remove unused variable
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
06185fc44f
commit
9af7e9a9ab
1 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@ impl ImagLogger {
|
||||||
|
|
||||||
Ok(ImagLogger {
|
Ok(ImagLogger {
|
||||||
global_loglevel : aggregate_global_loglevel(matches, config)?,
|
global_loglevel : aggregate_global_loglevel(matches, config)?,
|
||||||
global_destinations : aggregate_global_destinations(matches, config)?,
|
global_destinations : aggregate_global_destinations(config)?,
|
||||||
module_settings : aggregate_module_settings(matches, config)?,
|
module_settings : aggregate_module_settings(matches, config)?,
|
||||||
handlebars : handlebars,
|
handlebars : handlebars,
|
||||||
})
|
})
|
||||||
|
@ -273,7 +273,7 @@ fn translate_destinations(raw: &Vec<Value>) -> Result<Vec<LogDestination>> {
|
||||||
.collect()
|
.collect()
|
||||||
}
|
}
|
||||||
|
|
||||||
fn aggregate_global_destinations(matches: &ArgMatches, config: Option<&Value>)
|
fn aggregate_global_destinations(config: Option<&Value>)
|
||||||
-> Result<Vec<LogDestination>>
|
-> Result<Vec<LogDestination>>
|
||||||
{
|
{
|
||||||
match config {
|
match config {
|
||||||
|
|
Loading…
Reference in a new issue