Skip to content

Commit ef2bba2

Browse files
committed
cluster.rs: Remove Datacenter struct
It is no longer used anywhere.
1 parent 14ff415 commit ef2bba2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

scylla/src/transport/cluster.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,6 @@ impl<'a> std::fmt::Debug for ClusterNeatDebug<'a> {
5959
}
6060
}
6161

62-
#[derive(Clone, Debug)]
63-
pub struct Datacenter {
64-
pub nodes: Vec<Arc<Node>>,
65-
pub rack_count: usize,
66-
}
67-
6862
#[derive(Clone)]
6963
pub struct ClusterData {
7064
pub(crate) known_peers: HashMap<Uuid, Arc<Node>>, // Invariant: nonempty after Cluster::new()

0 commit comments

Comments
 (0)