Add REST route to get networks list
This commit is contained in:
@ -34,7 +34,7 @@ pub async fn create(client: LibVirtReq, req: web::Json<VMInfo>) -> HttpResult {
|
||||
|
||||
/// Get the list of domains
|
||||
pub async fn list_all(client: LibVirtReq) -> HttpResult {
|
||||
let list = client.get_full_list().await?;
|
||||
let list = client.get_full_domains_list().await?;
|
||||
let mut out = Vec::with_capacity(list.len());
|
||||
|
||||
for entry in list {
|
||||
|
Reference in New Issue
Block a user