Skip to content

Commit

Permalink
cluster.rs: Remove Datacenter struct
Browse files Browse the repository at this point in the history
It is no longer used anywhere.
  • Loading branch information
Lorak-mmk committed Oct 21, 2024
1 parent 45441c4 commit e499f85
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions scylla/src/transport/cluster.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,6 @@ impl<'a> std::fmt::Debug for ClusterNeatDebug<'a> {
}
}

#[derive(Clone, Debug)]
pub struct Datacenter {
pub nodes: Vec<Arc<Node>>,
pub rack_count: usize,
}

#[derive(Clone)]
pub struct ClusterData {
pub(crate) known_peers: HashMap<Uuid, Arc<Node>>, // Invariant: nonempty after Cluster::new()
Expand Down

0 comments on commit e499f85

Please sign in to comment.