cargo fmt

This commit is contained in:
DastInDark
2022-06-29 22:18:16 +09:00
parent 8bf5752cc7
commit b10ffa07d8
2 changed files with 4 additions and 5 deletions

View File

@@ -243,8 +243,7 @@ impl Detection {
.unwrap_or_default();
let eid = get_serde_number_to_string(&record_info.record["Event"]["System"]["EventID"])
.unwrap_or_else(|| "-".to_owned());
let default_output = match DEFAULT_DETAILS
.get(&format!("{}_{}", provider, &eid)) {
let default_output = match DEFAULT_DETAILS.get(&format!("{}_{}", provider, &eid)) {
Some(str) => str.to_owned(),
None => recinfo.as_ref().unwrap_or(&"-".to_string()).to_string(),
};