We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 546c733 commit 1eddee0Copy full SHA for 1eddee0
2 files changed
rust/operator-binary/src/controller.rs
@@ -99,7 +99,7 @@ use crate::{
99
self, add_kerberos_pod_config, kerberos_config_properties,
100
kerberos_container_start_commands,
101
},
102
- listener::{LISTENER_VOLUME_DIR, LISTENER_VOLUME_NAME, build_group_listener},
+ listener::{LISTENER_VOLUME_DIR, LISTENER_VOLUME_NAME, build_role_listener},
103
operations::{graceful_shutdown::add_graceful_shutdown_config, pdb::add_pdbs},
104
product_logging::extend_role_group_config_map,
105
};
@@ -521,7 +521,7 @@ pub async fn reconcile_hive(
521
522
if let Some(HiveMetastoreRoleConfig { listener_class, .. }) = role_config {
523
let group_listener: Listener =
524
- build_group_listener(hive, &resolved_product_image, &hive_role, listener_class)
+ build_role_listener(hive, &resolved_product_image, &hive_role, listener_class)
525
.context(ListenerConfigurationSnafu)?;
526
let listener = cluster_resources
527
.add(client, group_listener)
rust/operator-binary/src/listener.rs
@@ -69,7 +69,7 @@ pub fn build_listener_connection_string(
69
70
// Designed to build a listener per role
71
// In case of Hive we expect only one role: Metastore
72
-pub fn build_group_listener(
+pub fn build_role_listener(
73
hive: &v1alpha1::HiveCluster,
74
resolved_product_image: &ResolvedProductImage,
75
hive_role: &HiveRole,
0 commit comments