remove unused descriptions from api macros

these are now a hard error in the api macro

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2020-12-09 10:54:38 +01:00
parent 5d90860688
commit 9b93c62044
10 changed files with 11 additions and 48 deletions

View File

@ -151,10 +151,7 @@ pub fn create_datastore(param: Value) -> Result<(), Error> {
},
},
},
returns: {
description: "The datastore configuration (with config digest).",
type: datastore::DataStoreConfig,
},
returns: { type: datastore::DataStoreConfig },
access: {
permission: &Permission::Privilege(&["datastore", "{name}"], PRIV_DATASTORE_AUDIT, false),
},