|
1 | 1 | use snafu::{ResultExt, Snafu}; |
2 | | -use stackable_operator::role_utils::{ |
3 | | - GenericRoleConfig, JavaCommonConfig, JvmArgumentOverrides, Role, |
| 2 | +use stackable_operator::{ |
| 3 | + memory::MemoryQuantity, |
| 4 | + role_utils, |
| 5 | + role_utils::{GenericRoleConfig, JavaCommonConfig, JvmArgumentOverrides, Role}, |
4 | 6 | }; |
5 | | -use stackable_operator::{memory::MemoryQuantity, role_utils}; |
6 | 7 |
|
7 | | -use crate::crd::DruidRole; |
8 | 8 | use crate::crd::{ |
9 | | - JVM_SECURITY_PROPERTIES_FILE, LOG4J2_CONFIG, RW_CONFIG_DIRECTORY, STACKABLE_TRUST_STORE, |
10 | | - STACKABLE_TRUST_STORE_PASSWORD, |
| 9 | + DruidRole, JVM_SECURITY_PROPERTIES_FILE, LOG4J2_CONFIG, RW_CONFIG_DIRECTORY, |
| 10 | + STACKABLE_TRUST_STORE, STACKABLE_TRUST_STORE_PASSWORD, |
11 | 11 | }; |
12 | 12 |
|
13 | 13 | #[derive(Snafu, Debug)] |
@@ -82,9 +82,8 @@ pub fn construct_jvm_args<T>( |
82 | 82 | mod tests { |
83 | 83 | use indoc::indoc; |
84 | 84 |
|
85 | | - use crate::crd::v1alpha1::DruidCluster; |
86 | | - |
87 | 85 | use super::*; |
| 86 | + use crate::crd::v1alpha1::DruidCluster; |
88 | 87 |
|
89 | 88 | #[test] |
90 | 89 | fn test_construct_jvm_arguments_defaults() { |
|
0 commit comments