Skip to content

Commit 55cf40f

Browse files
committed
fix: consolidate validate_cluster name
1 parent c97efc4 commit 55cf40f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

rust/operator-binary/src/controller.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ pub async fn reconcile_trino(
344344
.context(DereferenceSnafu)?;
345345

346346
// validate (no client required)
347-
let validated = validate::validate(
347+
let validated = validate::validate_cluster(
348348
trino,
349349
&ctx.product_config,
350350
&ctx.operator_environment,

rust/operator-binary/src/controller/validate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ pub struct ValidatedInputs {
7474
}
7575

7676
/// Validates the cluster spec and the dereferenced inputs.
77-
pub fn validate(
77+
pub fn validate_cluster(
7878
trino: &v1alpha1::TrinoCluster,
7979
product_config: &ProductConfigManager,
8080
operator_environment: &OperatorEnvironmentOptions,

0 commit comments

Comments
 (0)