[pbs-devel] [PATCH proxmox-backup 1/2] client: benchmark: fix indentation issues in api schema
Christian Ebner
c.ebner at proxmox.com
Thu Jul 24 11:00:38 CEST 2025
This was noticed while extending the current schema.
Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
---
proxmox-backup-client/src/benchmark.rs | 32 +++++++++++++-------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/proxmox-backup-client/src/benchmark.rs b/proxmox-backup-client/src/benchmark.rs
index 463c2e61e..73e4f93fa 100644
--- a/proxmox-backup-client/src/benchmark.rs
+++ b/proxmox-backup-client/src/benchmark.rs
@@ -103,22 +103,22 @@ static BENCHMARK_RESULT_2020_TOP: BenchmarkResult = BenchmarkResult {
};
#[api(
- input: {
- properties: {
- repository: {
- schema: REPO_URL_SCHEMA,
- optional: true,
- },
- keyfile: {
- schema: KEYFILE_SCHEMA,
- optional: true,
- },
- "output-format": {
- schema: OUTPUT_FORMAT,
- optional: true,
- },
- }
- }
+ input: {
+ properties: {
+ repository: {
+ schema: REPO_URL_SCHEMA,
+ optional: true,
+ },
+ keyfile: {
+ schema: KEYFILE_SCHEMA,
+ optional: true,
+ },
+ "output-format": {
+ schema: OUTPUT_FORMAT,
+ optional: true,
+ },
+ },
+ },
)]
/// Run benchmark tests
pub async fn benchmark(
--
2.47.2
More information about the pbs-devel
mailing list