Skip to content

Commit 856af92

Browse files
committed
rename constant
1 parent ce02972 commit 856af92

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • rust/operator-binary/src/controller/build/resource

rust/operator-binary/src/controller/build/resource/listener.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use crate::{
1515

1616
// The group listener is a role-level object, so a constant `none` role-group is used as the
1717
// role-group label value.
18-
stackable_operator::constant!(PLACEHOLDER_LISTENER_ROLE_GROUP: RoleGroupName = "none");
18+
stackable_operator::constant!(NONE_ROLE_GROUP_NAME: RoleGroupName = "none");
1919

2020
pub fn build_group_listener(
2121
cluster: &ValidatedCluster,
@@ -29,7 +29,7 @@ pub fn build_group_listener(
2929
listener_group_name,
3030
cluster.recommended_labels_for(
3131
&ValidatedCluster::role_name(role),
32-
&PLACEHOLDER_LISTENER_ROLE_GROUP,
32+
&NONE_ROLE_GROUP_NAME,
3333
),
3434
)
3535
.build(),

0 commit comments

Comments
 (0)