Skip to content

Commit 7d756f7

Browse files
committed
fmt
1 parent 2c15817 commit 7d756f7

File tree

1 file changed

+6
-6
lines changed
  • rust/operator-binary/src/config

1 file changed

+6
-6
lines changed

rust/operator-binary/src/config/jvm.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
use crate::crd::{
2-
v1alpha1::HiveCluster, MetaStoreConfig, MetaStoreConfigFragment, JVM_SECURITY_PROPERTIES_FILE,
3-
METRICS_PORT, STACKABLE_CONFIG_DIR, STACKABLE_TRUST_STORE, STACKABLE_TRUST_STORE_PASSWORD,
4-
};
51
use snafu::{OptionExt, ResultExt, Snafu};
62
use stackable_operator::{
73
memory::{BinaryMultiple, MemoryQuantity},
84
role_utils::{self, GenericRoleConfig, JavaCommonConfig, JvmArgumentOverrides, Role},
95
};
106

7+
use crate::crd::{
8+
v1alpha1::HiveCluster, MetaStoreConfig, MetaStoreConfigFragment, JVM_SECURITY_PROPERTIES_FILE,
9+
METRICS_PORT, STACKABLE_CONFIG_DIR, STACKABLE_TRUST_STORE, STACKABLE_TRUST_STORE_PASSWORD,
10+
};
11+
1112
const JAVA_HEAP_FACTOR: f32 = 0.8;
1213

1314
#[derive(Snafu, Debug)]
@@ -107,9 +108,8 @@ fn is_heap_jvm_argument(jvm_argument: &str) -> bool {
107108

108109
#[cfg(test)]
109110
mod tests {
110-
use crate::crd::HiveRole;
111-
112111
use super::*;
112+
use crate::crd::HiveRole;
113113

114114
#[test]
115115
fn test_construct_jvm_arguments_defaults() {

0 commit comments

Comments
 (0)