File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ pub async fn cscs_job_list(system: Option<String>, platform: Option<ComputePlatf
9898 let api_client = CscsApi :: new ( access_token. 0 , platform) . unwrap ( ) ;
9999 let config = Config :: new ( ) . unwrap ( ) ;
100100 api_client
101- . list_jobs ( & system. unwrap_or ( config. values . cscs . current_system ) , Some ( true ) )
101+ . list_jobs ( & system. unwrap_or ( config. values . cscs . current_system ) , None )
102102 . await
103103 }
104104 Err ( e) => Err ( e) ,
@@ -188,7 +188,7 @@ async fn setup_ssh(
188188 // try to figure our ssh key
189189 let ssh_dir = dirs:: home_dir ( ) . ok_or ( eyre ! ( "couldn't find home dir" ) ) ?. join ( ".ssh" ) ;
190190 let mut ssh_path = None ;
191- for file in [ "id_dsa.pub" , "id_ecdsa.pub" , "id_rsa.pub" ] {
191+ for file in [ "id_dsa.pub" , "id_ecdsa.pub" , "id_rsa.pub" , "id_ed25519.pub" ] {
192192 let path = ssh_dir. join ( file) ;
193193 if path. exists ( ) {
194194 ssh_path = Some ( path) ;
@@ -293,7 +293,7 @@ async fn store_ssh_information(
293293 let mut writer = BufWriter :: new ( coman_ssh_config) ;
294294 write ! (
295295 writer,
296- "\n #Start {0}\n Host {0}\n Hostname {1}\n User {2}\n ProxyCommand coman proxy {3}{4}\n #End {0}" ,
296+ "\n #Start {0}\n Host {0}\n Hostname {1}\n User {2}\n ProxyCommand coman proxy {3} {4}\n #End {0}" ,
297297 connection_name,
298298 secret_key. public( ) ,
299299 user_info. name,
You can’t perform that action at this time.
0 commit comments