src/api2/node/tasks.rs; make list_tasks public

This commit is contained in:
Dietmar Maurer 2020-01-30 13:28:25 +01:00
parent 70fa1aa3fc
commit 8528fce874
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
use proxmox::api::router::{Router, SubdirMap}; use proxmox::api::router::{Router, SubdirMap};
use proxmox::list_subdirs_api_method; use proxmox::list_subdirs_api_method;
mod tasks; pub mod tasks;
mod time; mod time;
mod network; mod network;
pub mod dns; pub mod dns;

View File

@ -160,7 +160,7 @@ fn stop_task(
}, },
)] )]
/// List tasks. /// List tasks.
fn list_tasks( pub fn list_tasks(
param: Value, param: Value,
_info: &ApiMethod, _info: &ApiMethod,
rpcenv: &mut dyn RpcEnvironment, rpcenv: &mut dyn RpcEnvironment,