@@ -8,7 +8,7 @@ use crate::{
88 constants,
99 model:: {
1010 types:: { AnyError , RunMode , RunSpec } ,
11- volume:: VolumeBackedPath ,
11+ volume:: RoozVolume ,
1212 } ,
1313 util:: labels:: { self , Labels } ,
1414} ;
@@ -54,16 +54,16 @@ impl<'a> WorkspaceApi<'a> {
5454 let mut ports = HashMap :: < String , Option < String > > :: new ( ) ;
5555 RoozCfg :: parse_ports ( & mut ports, s. ports . clone ( ) ) ;
5656
57- let mut mounts = Vec :: < VolumeBackedPath > :: new ( ) ;
57+ let mut mounts = Vec :: < RoozVolume > :: new ( ) ;
5858
5959 let auto_mounts = s. mounts . as_ref ( ) . map ( |mounts| {
6060 mounts
6161 . iter ( )
6262 . map ( |mount| match mount {
6363 SidecarMount :: Empty ( mount) => {
64- VolumeBackedPath :: config_data ( workspace_key, mount, None , None , None )
64+ RoozVolume :: config_data ( workspace_key, mount, None , None , None )
6565 }
66- SidecarMount :: Files { mount, files } => VolumeBackedPath :: config_data (
66+ SidecarMount :: Files { mount, files } => RoozVolume :: config_data (
6767 workspace_key,
6868 mount,
6969 Some ( files. clone ( ) ) ,
@@ -79,7 +79,7 @@ impl<'a> WorkspaceApi<'a> {
7979 }
8080
8181 let work_mount = if let Some ( true ) = s. mount_work {
82- Some ( vec ! [ VolumeBackedPath :: work( workspace_key, work_dir) ] )
82+ Some ( vec ! [ RoozVolume :: work( workspace_key, work_dir) ] )
8383 } else {
8484 None
8585 } ;
0 commit comments