Skip to content

Commit

Permalink
Merge pull request #120 from kunai-project/fix-display-error-in-event
Browse files Browse the repository at this point in the history
fix: display error field in FileMeta and in FileScanData
  • Loading branch information
qjerome authored Oct 14, 2024
2 parents 7b88113 + 880957e commit 293801e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion kunai/src/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ pub struct FileMeta {
pub sha256: String,
pub sha512: String,
pub size: usize,
#[serde(skip_serializing_if = "Option::is_none")]
pub error: Option<String>,
}

Expand Down
1 change: 0 additions & 1 deletion kunai/src/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,6 @@ pub struct FileScanData {
pub signatures: Vec<String>,
pub positives: usize,
pub source_event: String,
#[serde(skip_serializing_if = "Option::is_none")]
pub scan_error: Option<String>,
}

Expand Down

0 comments on commit 293801e

Please sign in to comment.