src/api2/node/tasks.rs; make list_tasks public
This commit is contained in:
parent
70fa1aa3fc
commit
8528fce874
@ -1,7 +1,7 @@
|
||||
use proxmox::api::router::{Router, SubdirMap};
|
||||
use proxmox::list_subdirs_api_method;
|
||||
|
||||
mod tasks;
|
||||
pub mod tasks;
|
||||
mod time;
|
||||
mod network;
|
||||
pub mod dns;
|
||||
|
@ -160,7 +160,7 @@ fn stop_task(
|
||||
},
|
||||
)]
|
||||
/// List tasks.
|
||||
fn list_tasks(
|
||||
pub fn list_tasks(
|
||||
param: Value,
|
||||
_info: &ApiMethod,
|
||||
rpcenv: &mut dyn RpcEnvironment,
|
||||
|
Loading…
Reference in New Issue
Block a user