[PATCH proxmox v6 01/12] tree-wide: fix formatting issue via cargo fmt

Christian Ebner
2026-03-19T09:41:02Z

pbs-api-types/src/remote.rs | 9 ++++-----
proxmox-s3-client/src/client.rs | 5 ++++-
2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/pbs-api-types/src/remote.rs b/pbs-api-types/src/remote.rs
index 6a21345a..594fcc54 100644
--- a/pbs-api-types/src/remote.rs
+++ b/pbs-api-types/src/remote.rs
@@ -24,11 +24,10 @@ pub const REMOTE_ID_SCHEMA: Schema = StringSchema::new("Remote ID.")
.max_length(32)
.schema();

-pub const USE_NODE_HTTP_PROXY_SCHEMA: Schema = BooleanSchema::new(
- "Use the http proxy configuration of the node for remote connections.",
-)
-.default(false)
-.schema();
+pub const USE_NODE_HTTP_PROXY_SCHEMA: Schema =
+ BooleanSchema::new("Use the http proxy configuration of the node for remote connections.")
+ .default(false)
+ .schema();

#[api(
properties: {
diff --git a/proxmox-s3-client/src/client.rs b/proxmox-s3-client/src/client.rs
index 413b3984..7109faf5 100644
--- a/proxmox-s3-client/src/client.rs
+++ b/proxmox-s3-client/src/client.rs
@@ -673,7 +673,10 @@ impl S3Client {

/// Delete objects by given key prefix.
/// Requires at least 2 api calls.
- pub async fn delete_objects_by_prefix(&self, prefix: &S3PathPrefix) -> Result<Vec<DeleteObjectError>, Error> {
+ pub async fn delete_objects_by_prefix(
+ &self,
+ prefix: &S3PathPrefix,
+ ) -> Result<Vec<DeleteObjectError>, Error> {
// S3 API does not provide a convenient way to delete objects by key prefix.
// List all objects with given group prefix and delete all objects found, so this
// requires at least 2 API calls.
--
2.47.3