[pbs-devel] [PATCH proxmox 1/6] s3 client: fix formatting issues by `cargo fmt`
Christian Ebner
c.ebner at proxmox.com
Mon Aug 4 18:09:32 CEST 2025
Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
---
proxmox-s3-client/src/client.rs | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/proxmox-s3-client/src/client.rs b/proxmox-s3-client/src/client.rs
index a2c62811..ae61c590 100644
--- a/proxmox-s3-client/src/client.rs
+++ b/proxmox-s3-client/src/client.rs
@@ -155,8 +155,7 @@ impl S3Client {
options.endpoint.clone()
};
- let authority = authority_template
- .replace("{{region}}", &options.region);
+ let authority = authority_template.replace("{{region}}", &options.region);
let authority = if let Some(bucket) = &options.bucket {
authority.replace("{{bucket}}", bucket)
@@ -475,8 +474,7 @@ impl S3Client {
Some(bucket) => bucket,
None => bail!("missing bucket name for copy source"),
};
- let copy_source =
- source_key.to_copy_source_key(bucket, &self.options.common_prefix);
+ let copy_source = source_key.to_copy_source_key(bucket, &self.options.common_prefix);
let copy_source = aws_sign_v4_uri_encode(©_source, true);
let destination_key = destination_key.to_full_key(&self.options.common_prefix);
let destination_key = aws_sign_v4_uri_encode(&destination_key, true);
--
2.47.2
More information about the pbs-devel
mailing list