[pve-devel] [PATCH proxmox-perl-rs v2 15/15] tree-wide: run cargo fmt
Lukas Wagner
l.wagner at proxmox.com
Fri Aug 2 14:25:42 CEST 2024
Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---
New in v2
common/src/subscription.rs | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/common/src/subscription.rs b/common/src/subscription.rs
index d4c7227..594c778 100644
--- a/common/src/subscription.rs
+++ b/common/src/subscription.rs
@@ -5,9 +5,9 @@ mod export {
use proxmox_subscription::SubscriptionInfo;
use proxmox_sys::fs::CreateOptions;
- use proxmox_http::ProxyConfig;
- use proxmox_http::HttpOptions;
use proxmox_http::client::sync::Client;
+ use proxmox_http::HttpOptions;
+ use proxmox_http::ProxyConfig;
#[export]
fn read_subscription(path: String) -> Result<Option<SubscriptionInfo>, Error> {
@@ -69,7 +69,11 @@ mod export {
Some(url) => Some(ProxyConfig::parse_proxy_url(&url)?),
None => None,
};
- let options = HttpOptions { proxy_config, user_agent: Some(user_agent) , ..Default::default() };
+ let options = HttpOptions {
+ proxy_config,
+ user_agent: Some(user_agent),
+ ..Default::default()
+ };
let client = Client::new(options);
proxmox_subscription::check::check_subscription(key, server_id, product_url, client)
--
2.39.2
More information about the pve-devel
mailing list