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 f283715 commit 507d9a8Copy full SHA for 507d9a8
rust/operator-binary/src/crd/mod.rs
@@ -105,8 +105,8 @@ pub enum Error {
105
#[snafu(display("incompatible merge types"))]
106
IncompatibleMergeTypes,
107
108
- #[snafu(display("role-group is not valid"))]
109
- NoRoleGroup,
+ #[snafu(display("empty values for role-group are not permitted"))]
+ EmptyRoleGroup,
110
111
#[snafu(display("role-group not found by name"))]
112
RoleGroupNotFound,
@@ -210,7 +210,7 @@ impl v1alpha1::HbaseCluster {
210
211
// Trivial values for role-groups are not allowed
212
if role_group.is_empty() {
213
- return Err(Error::NoRoleGroup);
+ return Err(Error::EmptyRoleGroup);
214
}
215
216
let (mut role_config, mut role_group_config) = match role {
0 commit comments