File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ pub async fn build_discovery_configmaps(
9090/// Build a discovery [`ConfigMap`] containing information about how to connect to a certain
9191/// [`v1alpha1::HiveCluster`].
9292///
93- /// Data is coming from the [`Listener`] objects. Connection string is only build by [`build_listener_connection_string`]
93+ /// Data is coming from the [`Listener`] objects. Connection string is only build by [`build_listener_connection_string`].
9494fn build_discovery_configmap (
9595 name : & str ,
9696 owner : & impl Resource < DynamicType = ( ) > ,
@@ -140,7 +140,7 @@ fn build_listener_connection_string(
140140 rolegroup : & String ,
141141 chroot : Option < & str > ,
142142) -> Result < String , Error > {
143- // We'd need only the first address corresponding to the rolegroup
143+ // We only need the first address corresponding to the rolegroup
144144 let listener_address = listener_ref
145145 . status
146146 . and_then ( |s| s. ingress_addresses ?. into_iter ( ) . next ( ) )
You can’t perform that action at this time.
0 commit comments