From 013a145f4cc45eaff4fdbb9681924dd96b48eb25 Mon Sep 17 00:00:00 2001 From: Jeremy Wall Date: Sun, 26 May 2024 20:05:04 -0400 Subject: [PATCH] main: cleanup unused struct fields --- examples/example_dashboards.yaml | 2 -- src/dashboard.rs | 2 -- 2 files changed, 4 deletions(-) diff --git a/examples/example_dashboards.yaml b/examples/example_dashboards.yaml index a2f6d3c..757dbc1 100644 --- a/examples/example_dashboards.yaml +++ b/examples/example_dashboards.yaml @@ -68,8 +68,6 @@ logs: - title: Systemd Service Logs query_type: Range - yaxes: - - anchor: "y" # This axis is y source: http://heimdall:3100 query: | {job="systemd-journal"} diff --git a/src/dashboard.rs b/src/dashboard.rs index 98f1701..c2dbc70 100644 --- a/src/dashboard.rs +++ b/src/dashboard.rs @@ -131,9 +131,7 @@ pub struct Graph { #[derive(Deserialize)] pub struct LogStream { pub title: String, - pub legend_orientation: Option, pub source: String, - pub yaxes: Vec, pub query: String, pub span: Option, pub limit: Option,