Skip to content

Commit 32c0ec9

Browse files
committed
Remove leftover code
1 parent c581a5b commit 32c0ec9

1 file changed

Lines changed: 0 additions & 24 deletions

File tree

  • crates/stackable-operator/src/crd/database

crates/stackable-operator/src/crd/database/mod.rs

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,3 @@ pub enum Error {
1616
#[snafu(context(false), display("derby error"))]
1717
Derby { source: databases::derby::Error },
1818
}
19-
20-
// /// TODO docs
21-
// pub trait CeleryDatabaseConnection {
22-
// /// TODO docs, e.g. on what are valid characters for unique_database_name
23-
// fn celery_connection_details(
24-
// &self,
25-
// unique_database_name: &str,
26-
// ) -> CeleryDatabaseConnectionDetails;
27-
// }
28-
29-
// pub struct CeleryDatabaseConnectionDetails {
30-
// /// The connection URI, which can contain env variable templates, e.g.
31-
// /// `redis://:redis@airflow-redis-master:6379/0`
32-
// pub uri_template: String,
33-
34-
// /// The [`EnvVar`]s the operator needs to mount into the created Pods.
35-
// pub env_vars: Vec<EnvVar>,
36-
// }
37-
38-
// impl CeleryDatabaseConnectionDetails {
39-
// pub fn add_to_container(&self, cb: &mut ContainerBuilder) {
40-
// cb.add_env_vars(self.env_vars.clone());
41-
// }
42-
// }

0 commit comments

Comments
 (0)