We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9b3218e + 08316d6 commit 2c56b6aCopy full SHA for 2c56b6a
1 file changed
sdk/rust/src/dstack_client.rs
@@ -1,4 +1,4 @@
1
-use anyhow::{anyhow, Result};
+use anyhow::Result;
2
use hex::{encode as hex_encode, FromHexError};
3
use http_client_unix_domain_socket::{ClientUnix, Method};
4
use reqwest::Client;
@@ -258,10 +258,10 @@ impl DstackClient {
258
) -> Result<GetTlsKeyResponse> {
259
let data = json!({
260
"subject": subject.unwrap_or_default(),
261
+ "alt_names": alt_names.unwrap_or_default(),
262
"usage_ra_tls": usage_ra_tls,
263
"usage_server_auth": usage_server_auth,
- "usage_client_auth": usage_client_auth,
264
- "alt_names": alt_names.unwrap_or_default(),
+ "usage_client_auth": usage_client_auth
265
});
266
let response = self.send_rpc_request("/GetTlsKey", &data).await?;
267
let response = serde_json::from_value::<GetTlsKeyResponse>(response)?;
0 commit comments