Skip to content

Commit 9e903b1

Browse files
committed
fix: remove product-config references in comments
1 parent 09377a5 commit 9e903b1

3 files changed

Lines changed: 5 additions & 8 deletions

File tree

rust/operator-binary/src/controller/build/properties/hbase_site.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ use crate::{
1616
};
1717

1818
/// Renders `hbase-site.xml`.
19-
#[allow(clippy::too_many_arguments)]
2019
pub fn build(
2120
role: &HbaseRole,
2221
merged_config: &AnyServiceConfig,
@@ -27,7 +26,7 @@ pub fn build(
2726
) -> String {
2827
let mut config: BTreeMap<String, String> = BTreeMap::new();
2928

30-
// Defaults previously injected by product-config's `compute_files`.
29+
// Defaults
3130
config.insert(HBASE_CLUSTER_DISTRIBUTED.to_string(), "true".to_string());
3231
config.insert(HBASE_ROOTDIR.to_string(), merged_config.hbase_rootdir());
3332

rust/operator-binary/src/controller/build/properties/security_properties.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
//! Builds the `security.properties` (JVM security) config file.
22
//!
3-
//! The operator injects role-specific JVM DNS cache TTLs (preserving the
4-
//! behaviour previously defined in `properties.yaml`). User `configOverrides`
5-
//! are applied on top.
3+
//! The operator injects role-specific JVM DNS cache TTLs.
4+
//! User `configOverrides` are applied on top.
65
76
use std::collections::BTreeMap;
87

@@ -37,7 +36,7 @@ pub fn build(
3736
"0".to_string(),
3837
),
3938
]);
40-
// Overrides applied last so users win.
39+
// Overrides applied last.
4140
config.extend(overrides);
4241
to_java_properties_string(config.iter())
4342
}

rust/operator-binary/src/crd/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -886,8 +886,7 @@ impl AnyServiceConfig {
886886
}
887887
}
888888

889-
/// The configured `hbase.rootdir`. Previously injected into
890-
/// `hbase-site.xml` via product-config's `compute_files`.
889+
/// The configured `hbase.rootdir`.
891890
pub fn hbase_rootdir(&self) -> String {
892891
match self {
893892
AnyServiceConfig::Master(config) => config.hbase_rootdir.clone(),

0 commit comments

Comments
 (0)