File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- use anyhow:: { anyhow , Result } ;
1+ use anyhow:: Result ;
22use hex:: { encode as hex_encode, FromHexError } ;
33use http_client_unix_domain_socket:: { ClientUnix , Method } ;
44use reqwest:: Client ;
@@ -258,10 +258,10 @@ impl DstackClient {
258258 ) -> Result < GetTlsKeyResponse > {
259259 let data = json ! ( {
260260 "subject" : subject. unwrap_or_default( ) ,
261+ "alt_names" : alt_names. unwrap_or_default( ) ,
261262 "usage_ra_tls" : usage_ra_tls,
262263 "usage_server_auth" : usage_server_auth,
263- "usage_client_auth" : usage_client_auth,
264- "alt_names" : alt_names. unwrap_or_default( ) ,
264+ "usage_client_auth" : usage_client_auth
265265 } ) ;
266266 let response = self . send_rpc_request ( "/GetTlsKey" , & data) . await ?;
267267 let response = serde_json:: from_value :: < GetTlsKeyResponse > ( response) ?;
You can’t perform that action at this time.
0 commit comments