Skip to content

Commit 365bc02

Browse files
committed
chore: cargo +nightly fmt
1 parent e89256c commit 365bc02

2 files changed

Lines changed: 8 additions & 13 deletions

File tree

rust/operator-binary/src/zk_controller.rs

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@ use stackable_operator::{
3030
},
3131
cli::OperatorEnvironmentOptions,
3232
cluster_resources::{ClusterResourceApplyStrategy, ClusterResources},
33-
commons::{
34-
product_image_selection::ResolvedProductImage,
35-
rbac::build_rbac_resources,
36-
},
33+
commons::{product_image_selection::ResolvedProductImage, rbac::build_rbac_resources},
3734
constants::RESTART_CONTROLLER_ENABLED_LABEL,
3835
k8s_openapi::{
3936
DeepMerge,
@@ -80,12 +77,12 @@ use crate::{
8077
command::create_init_container_command_args,
8178
config::jvm::{construct_non_heap_jvm_args, construct_zk_server_heap_env},
8279
crd::{
83-
JMX_METRICS_PORT_NAME, JVM_SECURITY_PROPERTIES_FILE,
84-
MAX_PREPARE_LOG_FILE_SIZE, MAX_ZK_LOG_FILES_SIZE, METRICS_PROVIDER_HTTP_PORT_NAME,
85-
STACKABLE_CONFIG_DIR, STACKABLE_DATA_DIR, STACKABLE_LOG_CONFIG_DIR, STACKABLE_LOG_DIR,
86-
STACKABLE_RW_CONFIG_DIR, ZOOKEEPER_ELECTION_PORT, ZOOKEEPER_ELECTION_PORT_NAME,
87-
ZOOKEEPER_LEADER_PORT, ZOOKEEPER_LEADER_PORT_NAME, ZOOKEEPER_PROPERTIES_FILE,
88-
ZOOKEEPER_SERVER_PORT_NAME, ZookeeperRole,
80+
JMX_METRICS_PORT_NAME, JVM_SECURITY_PROPERTIES_FILE, MAX_PREPARE_LOG_FILE_SIZE,
81+
MAX_ZK_LOG_FILES_SIZE, METRICS_PROVIDER_HTTP_PORT_NAME, STACKABLE_CONFIG_DIR,
82+
STACKABLE_DATA_DIR, STACKABLE_LOG_CONFIG_DIR, STACKABLE_LOG_DIR, STACKABLE_RW_CONFIG_DIR,
83+
ZOOKEEPER_ELECTION_PORT, ZOOKEEPER_ELECTION_PORT_NAME, ZOOKEEPER_LEADER_PORT,
84+
ZOOKEEPER_LEADER_PORT_NAME, ZOOKEEPER_PROPERTIES_FILE, ZOOKEEPER_SERVER_PORT_NAME,
85+
ZookeeperRole,
8986
security::{self, ZookeeperSecurity},
9087
v1alpha1::{self, ZookeeperServerRoleConfig},
9188
},

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ use stackable_operator::{
1717
use crate::{
1818
crd::{
1919
CONTAINER_IMAGE_BASE_NAME, JVM_SECURITY_PROPERTIES_FILE, ZOOKEEPER_PROPERTIES_FILE,
20-
ZookeeperRole,
21-
security::ZookeeperSecurity,
22-
v1alpha1,
20+
ZookeeperRole, security::ZookeeperSecurity, v1alpha1,
2321
},
2422
zk_controller::dereference::DereferencedObjects,
2523
};

0 commit comments

Comments
 (0)