Skip to content

Commit

Permalink
clean up namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
davepacheco committed Oct 16, 2023
1 parent 6acb1e3 commit b151780
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
10 changes: 5 additions & 5 deletions nexus/inventory/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@

//! Interface for building [`Collection`] dynamically
use crate::BaseboardId;
use crate::Caboose;
use crate::Collection;
use crate::RotState;
use crate::ServiceProcessor;
use anyhow::anyhow;
use chrono::DateTime;
use chrono::Utc;
use gateway_client::types::SpComponentCaboose;
use gateway_client::types::SpState;
use gateway_client::types::SpType;
use nexus_types::inventory::BaseboardId;
use nexus_types::inventory::Caboose;
use nexus_types::inventory::CabooseFound;
use nexus_types::inventory::CabooseWhich;
use nexus_types::inventory::Collection;
use nexus_types::inventory::RotState;
use nexus_types::inventory::ServiceProcessor;
use std::collections::BTreeMap;
use std::collections::BTreeSet;
use std::sync::Arc;
Expand Down
2 changes: 1 addition & 1 deletion nexus/inventory/src/collector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
//! Collection of inventory from Omicron components
use crate::builder::CollectionBuilder;
use crate::Collection;
use anyhow::Context;
use nexus_types::inventory::CabooseWhich;
use nexus_types::inventory::Collection;
use std::sync::Arc;
use strum::IntoEnumIterator;

Expand Down
2 changes: 0 additions & 2 deletions nexus/inventory/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,3 @@ mod builder;
mod collector;

pub use collector::Collector;
// XXX-remove this
pub use nexus_types::inventory::*;
1 change: 0 additions & 1 deletion nexus/src/app/background/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ mod dns_servers;
mod external_endpoints;
mod init;
mod inventory_collection;
// mod inventory_write;
mod status;

pub use common::Driver;
Expand Down

0 comments on commit b151780

Please sign in to comment.