File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed
crates/icp/src/network/managed Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -53,19 +53,7 @@ pub async fn spawn_docker_launcher(
5353 let wsl2_distro = std:: env:: var ( "ICP_CLI_DOCKER_WSL2_DISTRO" ) . ok ( ) ;
5454 let wsl2_distro = wsl2_distro. as_deref ( ) ;
5555 let wsl2_convert = cfg ! ( windows) && wsl2_distro. is_some ( ) ;
56- let host_status_tmpdir = if wsl2_convert {
57- let host_tmp = wslpath2:: convert ( "/tmp" , wsl2_distro, Conversion :: WslToWindows , true )
58- . map_err ( |e| {
59- WslPathConvertSnafu {
60- msg : e. to_string ( ) ,
61- path : "/tmp" ,
62- }
63- . build ( )
64- } ) ?;
65- Utf8TempDir :: new_in ( & host_tmp) . context ( WslCreateTmpDirSnafu ) ?
66- } else {
67- Utf8TempDir :: new ( ) . context ( CreateStatusDirSnafu ) ?
68- } ;
56+ let host_status_tmpdir = Utf8TempDir :: new ( ) . context ( CreateStatusDirSnafu ) ?;
6957 let host_status_dir = host_status_tmpdir. path ( ) ;
7058 let host_status_dir_param = convert_path ( wsl2_convert, wsl2_distro, host_status_tmpdir. path ( ) ) ?;
7159 let socket = match std:: env:: var ( "DOCKER_HOST" ) . ok ( ) {
You can’t perform that action at this time.
0 commit comments