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