Skip to content

Commit fd0e4a8

Browse files
authored
Remove commented code
1 parent c0d6569 commit fd0e4a8

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

rust/operator-binary/src/discovery.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -123,18 +123,6 @@ pub fn build_discovery_configmap(
123123
.context(BuildConfigMapSnafu)
124124
}
125125

126-
// /// Lists all Pods FQDNs expected to host the [`v1alpha1::ZookeeperCluster`]
127-
// fn pod_hosts<'a>(
128-
// zk: &'a v1alpha1::ZookeeperCluster,
129-
// zookeeper_security: &'a ZookeeperSecurity,
130-
// cluster_info: &'a KubernetesClusterInfo,
131-
// ) -> Result<impl IntoIterator<Item = (String, u16)> + 'a> {
132-
// Ok(zk
133-
// .pods()
134-
// .context(ExpectedPodsSnafu)?
135-
// .map(|pod_ref| (pod_ref.fqdn(cluster_info), zookeeper_security.client_port())))
136-
// }
137-
138126
/// Lists all listener address and port number pairs for a given `port_name` for Pods participating in the [`Listener`][1]
139127
///
140128
/// This returns pairs of `(Address, Port)`, where address could be a hostname or IP address of a node, clusterIP or external

0 commit comments

Comments
 (0)