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:
@ -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,
|
||||
|
Reference in New Issue
Block a user