File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -484,11 +484,23 @@ fn build_rolegroup_config_map(
484
484
// add tls encryption / auth properties
485
485
tls_settings. add_tls_config_properties ( & mut transformed_config, & role) ;
486
486
487
- let runtime_properties =
488
- stackable_operator:: product_config:: writer:: to_java_properties_string (
489
- transformed_config. iter ( ) ,
490
- )
491
- . context ( PropertiesWriteSnafu ) ?;
487
+ // let runtime_properties =
488
+ // stackable_operator::product_config::writer::to_java_properties_string(
489
+ // transformed_config.iter(),
490
+ // )
491
+ // .context(PropertiesWriteSnafu)?;
492
+ let runtime_properties: String = transformed_config
493
+ . iter ( )
494
+ . map ( |kv| {
495
+ format ! (
496
+ "{}={}" ,
497
+ kv. 0 ,
498
+ kv. 1 . clone( ) . unwrap_or_else( || "" . to_string( ) )
499
+ )
500
+ } )
501
+ . reduce ( |content, line| format ! ( "{content}\n {line}" ) )
502
+ . unwrap_or_else ( || "" . to_string ( ) ) ;
503
+
492
504
cm_conf_data. insert ( RUNTIME_PROPS . to_string ( ) , runtime_properties) ;
493
505
}
494
506
PropertyNameKind :: File ( file_name) if file_name == JVM_CONFIG => {
You can’t perform that action at this time.
0 commit comments