From 6acb1e31f0bf450a87a2a34a9b2712c026099eb2 Mon Sep 17 00:00:00 2001 From: David Pacheco Date: Mon, 16 Oct 2023 15:37:24 -0700 Subject: [PATCH] finish removing useless comment --- dev-tools/omdb/src/bin/omdb/db.rs | 3 --- nexus/inventory/src/collector.rs | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/dev-tools/omdb/src/bin/omdb/db.rs b/dev-tools/omdb/src/bin/omdb/db.rs index c163b4e70f..a4ee798b8c 100644 --- a/dev-tools/omdb/src/bin/omdb/db.rs +++ b/dev-tools/omdb/src/bin/omdb/db.rs @@ -996,7 +996,6 @@ async fn cmd_db_dns_show( #[tabled(rename = "ver")] version: String, updated: String, - reason: String, } let mut rows = Vec::with_capacity(2); @@ -1021,7 +1020,6 @@ async fn cmd_db_dns_show( version: version.version.0.to_string(), updated: version.time_created.to_rfc3339_opts(SecondsFormat::Secs, true), - reason: version.comment.clone(), })); } @@ -1644,7 +1642,6 @@ async fn inv_collection_print( "" } ); - println!("reason: {}", c.comment); println!( "started: {}", humantime::format_rfc3339_millis(c.time_started.into()) diff --git a/nexus/inventory/src/collector.rs b/nexus/inventory/src/collector.rs index 19bd2a7dce..5be01d26e1 100644 --- a/nexus/inventory/src/collector.rs +++ b/nexus/inventory/src/collector.rs @@ -19,12 +19,11 @@ pub struct Collector { impl Collector { pub fn new( creator: &str, - comment: &str, mgs_clients: &[Arc], ) -> Self { Collector { mgs_clients: mgs_clients.to_vec(), - in_progress: CollectionBuilder::new(creator, comment), + in_progress: CollectionBuilder::new(creator), } }