diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2019-02-15 20:37:30 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2019-02-15 22:15:06 +0100 |
commit | 9af7e9a9abdab873e4442519e2a7254536337d0a (patch) | |
tree | 55ceb4bcb0e511e044d1df5a08f60c1a5cd484cb /lib/core/libimagrt/src/logger.rs | |
parent | 06185fc44f86348a2124295afdc969a180bcb2bf (diff) |
Remove unused variable
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'lib/core/libimagrt/src/logger.rs')
-rw-r--r-- | lib/core/libimagrt/src/logger.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/core/libimagrt/src/logger.rs b/lib/core/libimagrt/src/logger.rs index e9526a35..fa6c8c28 100644 --- a/lib/core/libimagrt/src/logger.rs +++ b/lib/core/libimagrt/src/logger.rs @@ -98,7 +98,7 @@ impl ImagLogger { Ok(ImagLogger { 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)?, handlebars : handlebars, }) @@ -273,7 +273,7 @@ fn translate_destinations(raw: &Vec<Value>) -> Result<Vec<LogDestination>> { .collect() } -fn aggregate_global_destinations(matches: &ArgMatches, config: Option<&Value>) +fn aggregate_global_destinations(config: Option<&Value>) -> Result<Vec<LogDestination>> { match config { |