From 08316d6227464f7bd78d0360e1068a71d9c3bf42 Mon Sep 17 00:00:00 2001 From: tuddman Date: Wed, 14 May 2025 13:34:38 +0200 Subject: [PATCH] fix(client): ordering and unnecessary import --- sdk/rust/src/dstack_client.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/rust/src/dstack_client.rs b/sdk/rust/src/dstack_client.rs index abfb5737..0a93d052 100644 --- a/sdk/rust/src/dstack_client.rs +++ b/sdk/rust/src/dstack_client.rs @@ -1,4 +1,4 @@ -use anyhow::{anyhow, Result}; +use anyhow::Result; use hex::{encode as hex_encode, FromHexError}; use http_client_unix_domain_socket::{ClientUnix, Method}; use reqwest::Client; @@ -258,10 +258,10 @@ impl DstackClient { ) -> Result { let data = json!({ "subject": subject.unwrap_or_default(), + "alt_names": alt_names.unwrap_or_default(), "usage_ra_tls": usage_ra_tls, "usage_server_auth": usage_server_auth, - "usage_client_auth": usage_client_auth, - "alt_names": alt_names.unwrap_or_default(), + "usage_client_auth": usage_client_auth }); let response = self.send_rpc_request("/GetTlsKey", &data).await?; let response = serde_json::from_value::(response)?;