Skip to content

Commit

Permalink
refactor!: Make field private
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernauer committed Dec 9, 2024
1 parent 3462c9e commit a7ae846
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion crates/stackable-operator/src/role_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,16 @@ pub struct JavaCommonConfig {
// TODO: Docs
// Use [`JavaCommonConfig::effective_jvm_config`] to retrieve the effective JVM arguments!
#[serde(default)]
pub jvm_argument_overrides: BTreeMap<String, JvmArgument>,
jvm_argument_overrides: BTreeMap<String, JvmArgument>,
}

impl JavaCommonConfig {
pub fn new(jvm_argument_overrides: BTreeMap<String, JvmArgument>) -> Self {
Self {
jvm_argument_overrides,
}
}

/// Returns all arguments that should be passed to the JVM.
///
/// Please note that the values of the [`BTreeMap`] are [`Option<String>`]. A value of [`None`]
Expand Down

0 comments on commit a7ae846

Please sign in to comment.