This commit is contained in:
parent
2b58ce4d5e
commit
2fadf53dea
@ -117,7 +117,9 @@ impl LibVirtClient {
|
|||||||
out.insert(g);
|
out.insert(g);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Ok(out.into_iter().collect())
|
let mut out: Vec<_> = out.into_iter().collect();
|
||||||
|
out.sort();
|
||||||
|
Ok(out)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Update a network configuration
|
/// Update a network configuration
|
||||||
|
@ -10,7 +10,9 @@ use crate::utils::files_utils::convert_size_unit_to_mb;
|
|||||||
use lazy_regex::regex;
|
use lazy_regex::regex;
|
||||||
use num::Integer;
|
use num::Integer;
|
||||||
|
|
||||||
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize, PartialEq, Eq, Hash)]
|
#[derive(
|
||||||
|
Debug, Clone, serde::Serialize, serde::Deserialize, PartialEq, Eq, Hash, Ord, PartialOrd,
|
||||||
|
)]
|
||||||
pub struct VMGroupId(pub String);
|
pub struct VMGroupId(pub String);
|
||||||
|
|
||||||
#[derive(serde::Serialize, serde::Deserialize)]
|
#[derive(serde::Serialize, serde::Deserialize)]
|
||||||
|
Loading…
Reference in New Issue
Block a user