From 94913f35ca5860f04e00303a641a6205edc1443e Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 19 Dec 2019 07:57:53 +0100 Subject: [PATCH] src/bin/proxmox-backup-client.rs - start_garbage_collection: add missing output-format parameter --- src/bin/proxmox-backup-client.rs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/bin/proxmox-backup-client.rs b/src/bin/proxmox-backup-client.rs index a877eea2..16ddc49a 100644 --- a/src/bin/proxmox-backup-client.rs +++ b/src/bin/proxmox-backup-client.rs @@ -632,14 +632,18 @@ async fn list_snapshot_files(param: Value) -> Result { } #[api( - input: { + input: { properties: { repository: { schema: REPO_URL_SCHEMA, optional: true, }, - } - } + "output-format": { + schema: OUTPUT_FORMAT, + optional: true, + }, + }, + }, )] /// Start garbage collection for a specific repository. async fn start_garbage_collection(param: Value) -> Result {