improve code docs in api2

Note: API methos should be declared pub, so that they show up in the generated docu.
This commit is contained in:
Dietmar Maurer
2021-01-22 15:53:51 +01:00
parent 545706cbee
commit bf78f70885
19 changed files with 96 additions and 52 deletions

View File

@ -1,3 +1,5 @@
//! Datastore Verify Job Management
use anyhow::{format_err, Error};
use proxmox::api::router::SubdirMap;
@ -115,7 +117,7 @@ pub fn list_verification_jobs(
},
)]
/// Runs a verification job manually.
fn run_verification_job(
pub fn run_verification_job(
id: String,
_info: &ApiMethod,
rpcenv: &mut dyn RpcEnvironment,