File tree Expand file tree Collapse file tree 2 files changed +0
-23
lines changed
rust/operator-binary/src/crd Expand file tree Collapse file tree 2 files changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,7 @@ use stackable_operator::time::Duration;
22
33pub const DEFAULT_DFS_REPLICATION_FACTOR : u8 = 3 ;
44
5- pub const CONTROLLER_NAME : & str = "hdfsclusters.hdfs.stackable.tech" ;
6-
75pub const FIELD_MANAGER_SCOPE : & str = "hdfscluster" ;
8- pub const FIELD_MANAGER_SCOPE_POD : & str = "pod-service" ;
96
107pub const APP_NAME : & str = "hdfs" ;
118
Original file line number Diff line number Diff line change 11use std:: {
22 borrow:: Cow ,
33 collections:: { BTreeMap , HashMap } ,
4- fmt:: Display ,
54 num:: TryFromIntError ,
65 ops:: Deref ,
76} ;
@@ -1483,25 +1482,6 @@ impl HasStatusCondition for HdfsCluster {
14831482 }
14841483}
14851484
1486- // TODO: upstream?
1487- pub trait LoggingExt {
1488- type Container ;
1489- fn for_container ( & self , container : & Self :: Container ) -> Cow < ContainerLogConfig > ;
1490- }
1491- impl < T > LoggingExt for Logging < T >
1492- where
1493- T : Ord + Clone + Display ,
1494- {
1495- type Container = T ;
1496-
1497- fn for_container ( & self , container : & Self :: Container ) -> Cow < ContainerLogConfig > {
1498- self . containers
1499- . get ( container)
1500- . map ( Cow :: Borrowed )
1501- . unwrap_or_default ( )
1502- }
1503- }
1504-
15051485#[ cfg( test) ]
15061486mod test {
15071487 use stackable_operator:: k8s_openapi:: {
You can’t perform that action at this time.
0 commit comments