src/bin/proxmox-backup-client.rs - start_garbage_collection: add missing output-format parameter

This commit is contained in:
Dietmar Maurer 2019-12-19 07:57:53 +01:00
parent 868c585219
commit 94913f35ca

View File

@ -632,14 +632,18 @@ async fn list_snapshot_files(param: Value) -> Result<Value, Error> {
} }
#[api( #[api(
input: { input: {
properties: { properties: {
repository: { repository: {
schema: REPO_URL_SCHEMA, schema: REPO_URL_SCHEMA,
optional: true, optional: true,
}, },
} "output-format": {
} schema: OUTPUT_FORMAT,
optional: true,
},
},
},
)] )]
/// Start garbage collection for a specific repository. /// Start garbage collection for a specific repository.
async fn start_garbage_collection(param: Value) -> Result<Value, Error> { async fn start_garbage_collection(param: Value) -> Result<Value, Error> {