Skip to content

Commit

Permalink
remove subPathExpr
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernauer committed Sep 26, 2024
1 parent b7b43b8 commit e40749a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions crates/stackable-operator/src/builder/pod/container.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,15 @@ pub enum Error {
The shared mountPath is {mount_path:?}, \
the existing mount's volume name is {existing_volume_name:?}, \
the existing mount's subPath is {existing_sub_path:?}, \
the existing mount's SubPathExpr is {existing_sub_path_expr:?}, \
the new mount's volume name is {new_volume_name:?}, \
the new mount's subPath is {new_sub_path:?}, \
the new mount's SubPathExpr is {new_sub_path_expr:?}"
the new mount's subPath is {new_sub_path:?}"
))]
ClashingMountPath {
mount_path: String,
existing_volume_name: String,
existing_sub_path: Option<String>,
existing_sub_path_expr: Option<String>,
new_volume_name: String,
new_sub_path: Option<String>,
new_sub_path_expr: Option<String>,
},
}

Expand Down Expand Up @@ -234,10 +230,8 @@ impl ContainerBuilder {
mount_path: volume_mount.mount_path,
existing_volume_name: existing_volume_mount.name.clone(),
existing_sub_path: existing_volume_mount.sub_path.clone(),
existing_sub_path_expr: existing_volume_mount.sub_path_expr.clone(),
new_volume_name: volume_mount.name,
new_sub_path: volume_mount.sub_path,
new_sub_path_expr: volume_mount.sub_path_expr,
}
);
} else {
Expand Down

0 comments on commit e40749a

Please sign in to comment.