src/api2/node/tasks.rs; make list_tasks public
This commit is contained in:
		@ -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,
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user