You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/stackable-operator/src/builder/pod/container.rs
+1-4Lines changed: 1 addition & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ pub enum Error {
38
38
/// This will automatically create the necessary volumes and mounts for each `ConfigMap` which is added.
39
39
///
40
40
/// This struct is often times using an [`IndexMap`] to have consistent ordering (so we don't produce reconcile loops).
41
-
/// We are also choosing it over an [`std::collections::BTreeMap`], as it's easier to debug for users, as logically
41
+
/// We are also choosing it over a [`BTreeMap`], because it is easier to debug for users, as logically
42
42
/// grouped volumeMounts (e.g. all volumeMounts related to S3) are near each other in the list instead of "just" being
43
43
/// sorted alphabetically.
44
44
#[derive(Clone,Default)]
@@ -212,9 +212,6 @@ impl ContainerBuilder {
212
212
/// Historically this function unconditionally added volumeMounts, which resulted in invalid
213
213
/// [`k8s_openapi::api::core::v1::PodSpec`]s, as volumeMounts where added multiple times - think of Trino using the same [`crate::commons::s3::S3Connection`]
214
214
/// two times, resulting in e.g. the s3 credentials being mounted twice as the same volumeMount.
215
-
///
216
-
/// We could have made this function fallible, but decided not to do so for now, as it would be a bigger breaking
0 commit comments