@@ -31,19 +31,15 @@ pub enum Error {
31
31
The shared mountPath is {mount_path:?}, \
32
32
the existing mount's volume name is {existing_volume_name:?}, \
33
33
the existing mount's subPath is {existing_sub_path:?}, \
34
- the existing mount's SubPathExpr is {existing_sub_path_expr:?}, \
35
34
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:?}"
38
36
) ) ]
39
37
ClashingMountPath {
40
38
mount_path : String ,
41
39
existing_volume_name : String ,
42
40
existing_sub_path : Option < String > ,
43
- existing_sub_path_expr : Option < String > ,
44
41
new_volume_name : String ,
45
42
new_sub_path : Option < String > ,
46
- new_sub_path_expr : Option < String > ,
47
43
} ,
48
44
}
49
45
@@ -234,10 +230,8 @@ impl ContainerBuilder {
234
230
mount_path: volume_mount. mount_path,
235
231
existing_volume_name: existing_volume_mount. name. clone( ) ,
236
232
existing_sub_path: existing_volume_mount. sub_path. clone( ) ,
237
- existing_sub_path_expr: existing_volume_mount. sub_path_expr. clone( ) ,
238
233
new_volume_name: volume_mount. name,
239
234
new_sub_path: volume_mount. sub_path,
240
- new_sub_path_expr: volume_mount. sub_path_expr,
241
235
}
242
236
) ;
243
237
} else {
0 commit comments