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 5f65a98 commit 5e6b631Copy full SHA for 5e6b631
rust/operator-binary/src/druid_controller.rs
@@ -689,7 +689,10 @@ fn build_rolegroup_config_map(
689
druid_tls_security: &DruidTlsSecurity,
690
druid_auth_config: &Option<DruidAuthenticationConfig>,
691
) -> Result<ConfigMap> {
692
- let druid_role = DruidRole::from_str(&rolegroup.role).unwrap();
+ let druid_role =
693
+ DruidRole::from_str(&rolegroup.role).with_context(|_| UnidentifiedDruidRoleSnafu {
694
+ role: &rolegroup.role,
695
+ })?;
696
let role = druid.get_role(&druid_role);
697
let mut cm_conf_data = BTreeMap::new(); // filename -> filecontent
698
0 commit comments