Skip to content

Commit db7d455

Browse files
committed
formatting
1 parent 3933eb8 commit db7d455

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,7 @@ pub fn validate_cluster(
7676
)
7777
.context(ResolveProductImageSnafu)?;
7878

79-
let roles = hdfs
80-
.build_role_properties()
81-
.context(RolePropertiesSnafu)?;
79+
let roles = hdfs.build_role_properties().context(RolePropertiesSnafu)?;
8280

8381
let validated_config = validate_all_roles_and_groups_config(
8482
&resolved_product_image.product_version,

rust/operator-binary/src/hdfs_controller.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ use strum::{EnumDiscriminants, IntoEnumIterator, IntoStaticStr};
5353
use crate::{
5454
OPERATOR_NAME, build_recommended_labels,
5555
config::{CoreSiteConfigBuilder, HdfsSiteConfigBuilder},
56-
controller::validate::{ValidatedRoleConfig, ValidatedRoleGroupConfig},
5756
container::{self, ContainerConfig, TLS_STORE_DIR, TLS_STORE_PASSWORD},
57+
controller::validate::{ValidatedRoleConfig, ValidatedRoleGroupConfig},
5858
crd::{
5959
AnyNodeConfig, HdfsClusterStatus, HdfsNodeRole, HdfsPodRef, UpgradeState,
6060
UpgradeStateError, constants::*, v1alpha1,

0 commit comments

Comments
 (0)