Skip to content

Commit ff4e092

Browse files
Update error to RoleListenerHasNoAddress
Co-authored-by: Nick <10092581+NickLarsenNZ@users.noreply.github.com>
1 parent 43d5e38 commit ff4e092

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rust/operator-binary/src/discovery.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pub enum Error {
3737
source: stackable_operator::builder::meta::Error,
3838
},
3939
#[snafu(display("{role} listener has no adress"))]
40-
RoleGroupListenerHasNoAddress { role: String },
40+
RoleListenerHasNoAddress { role: String },
4141
}
4242

4343
/// Builds discovery [`ConfigMap`]s for connecting to a [`v1alpha1::HiveCluster`] for all expected
@@ -124,7 +124,7 @@ fn build_listener_connection_string(
124124
let listener_address = listener_ref
125125
.status
126126
.and_then(|s| s.ingress_addresses?.into_iter().next())
127-
.context(RoleGroupListenerHasNoAddressSnafu { role })?;
127+
.context(RoleListenerHasNoAddressSnafu { role })?;
128128
let mut conn_str = format!(
129129
"thrift://{}:{}",
130130
listener_address.address,

0 commit comments

Comments
 (0)