Skip to content

Commit ed9f5e9

Browse files
Update rust/operator-binary/src/controller/build/role_group_builder.rs
Co-authored-by: maltesander <malte.sander.it@gmail.com>
1 parent cf6db88 commit ed9f5e9

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

rust/operator-binary/src/controller/build/role_group_builder.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,11 @@ impl<'a> RoleGroupBuilder<'a> {
966966
fn security_settings_file_type_managed_by_env_var(
967967
file_type: &ExtendedSecuritySettingsFileType,
968968
) -> EnvVarName {
969-
EnvVarName::from_str(&format!("MANAGE_{}", file_type.id.to_uppercase())).expect(
969+
EnvVarName::from_str(&format!(
970+
"MANAGE_{file_type_id}",
971+
file_type_id = file_type.id.to_uppercase()
972+
))
973+
.expect(
970974
"The file type IDs are static strings which should produce valid environment variable \
971975
names.",
972976
)

0 commit comments

Comments
 (0)