Skip to content

Commit

Permalink
finish removing useless comment
Browse files Browse the repository at this point in the history
  • Loading branch information
davepacheco committed Oct 16, 2023
1 parent 8650521 commit 6acb1e3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions dev-tools/omdb/src/bin/omdb/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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(),
}));
}

Expand Down Expand Up @@ -1644,7 +1642,6 @@ async fn inv_collection_print(
""
}
);
println!("reason: {}", c.comment);
println!(
"started: {}",
humantime::format_rfc3339_millis(c.time_started.into())
Expand Down
3 changes: 1 addition & 2 deletions nexus/inventory/src/collector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,11 @@ pub struct Collector {
impl Collector {
pub fn new(
creator: &str,
comment: &str,
mgs_clients: &[Arc<gateway_client::Client>],
) -> Self {
Collector {
mgs_clients: mgs_clients.to_vec(),
in_progress: CollectionBuilder::new(creator, comment),
in_progress: CollectionBuilder::new(creator),
}
}

Expand Down

0 comments on commit 6acb1e3

Please sign in to comment.