@cryptotaxi247 / netdata-1 / commits / d0c06b899

Fix response when no log entries have been found. (#21581)

vkalintiris committed Jan 16, 2026 at 12:34 UTC d0c06b899b92a84c4b83de2c854dcd6602b9f71f
1 file changed +1 -1
src/crates/netdata-log-viewer/journal-function/src/netdata/builder.rs
+1 -1
@@ -81,7 +81,7 @@ pub fn build_ui_response(
81 log_entries: &[LogEntryData],
82 ) -> (serde_json::Value, serde_json::Value) {
83 if log_entries.is_empty() {
84 - return (serde_json::json!([]), serde_json::json!([]));
84 + return (serde_json::json!({}), serde_json::json!([]));
85 }
86
87 // Generate column schema from histogram