Skip to content

Commit e40749a

Browse files
committed
remove subPathExpr
1 parent b7b43b8 commit e40749a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

crates/stackable-operator/src/builder/pod/container.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,15 @@ pub enum Error {
3131
The shared mountPath is {mount_path:?}, \
3232
the existing mount's volume name is {existing_volume_name:?}, \
3333
the existing mount's subPath is {existing_sub_path:?}, \
34-
the existing mount's SubPathExpr is {existing_sub_path_expr:?}, \
3534
the new mount's volume name is {new_volume_name:?}, \
36-
the new mount's subPath is {new_sub_path:?}, \
37-
the new mount's SubPathExpr is {new_sub_path_expr:?}"
35+
the new mount's subPath is {new_sub_path:?}"
3836
))]
3937
ClashingMountPath {
4038
mount_path: String,
4139
existing_volume_name: String,
4240
existing_sub_path: Option<String>,
43-
existing_sub_path_expr: Option<String>,
4441
new_volume_name: String,
4542
new_sub_path: Option<String>,
46-
new_sub_path_expr: Option<String>,
4743
},
4844
}
4945

@@ -234,10 +230,8 @@ impl ContainerBuilder {
234230
mount_path: volume_mount.mount_path,
235231
existing_volume_name: existing_volume_mount.name.clone(),
236232
existing_sub_path: existing_volume_mount.sub_path.clone(),
237-
existing_sub_path_expr: existing_volume_mount.sub_path_expr.clone(),
238233
new_volume_name: volume_mount.name,
239234
new_sub_path: volume_mount.sub_path,
240-
new_sub_path_expr: volume_mount.sub_path_expr,
241235
}
242236
);
243237
} else {

0 commit comments

Comments
 (0)