diff options
author | Daniel <kingdread@gmx.de> | 2020-05-12 14:03:57 +0200 |
---|---|---|
committer | Daniel <kingdread@gmx.de> | 2020-05-12 14:04:54 +0200 |
commit | 331dbac270273889111a3cd4bb73d16eeaf5ebde (patch) | |
tree | f9bff785f8bb0faa9476e153a63013f12031cfcc /src/output | |
parent | 371186e872df3518bb5a2894f487ec02a42c771a (diff) | |
download | raidgrep-331dbac270273889111a3cd4bb73d16eeaf5ebde.tar.gz raidgrep-331dbac270273889111a3cd4bb73d16eeaf5ebde.tar.bz2 raidgrep-331dbac270273889111a3cd4bb73d16eeaf5ebde.zip |
use Display implementations from evtclib
Diffstat (limited to 'src/output')
-rw-r--r-- | src/output/formats.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/formats.rs b/src/output/formats.rs index 203502a..e7008ee 100644 --- a/src/output/formats.rs +++ b/src/output/formats.rs @@ -42,7 +42,7 @@ impl Format for HumanReadable { .with_timezone(&Local) .format("%Y-%m-%d %H:%M:%S %a"), "Boss".green(), - item.boss_name, + item.boss.map(|x| x.to_string()).unwrap_or_else(|| "unknown".into()), if item.is_cm { " CM" } else { "" }, outcome, ) |