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

Hannes Laimer
2026-03-31T08:01:11Z

same diff as [1], so this doesn't apply anymore :)

[1]
https://git.proxmox.com/?p=proxmox.git;a=commit;h=feee116e06178aeffb53e770bb5b7f5a1435e834

On 2026-03-19 10:40, Christian Ebner wrote:
> Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
> ---
> 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.