forked from proxmox-mirrors/proxmox
section-config: expose order
we already expose the raw sections which are sometimes easier to use, but we don't expose the order at all this way otherwise Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
b4a798f0a7
commit
c8f26ee0ea
@ -101,7 +101,7 @@ enum ParseState<'a> {
|
|||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct SectionConfigData {
|
pub struct SectionConfigData {
|
||||||
pub sections: HashMap<String, (String, Value)>,
|
pub sections: HashMap<String, (String, Value)>,
|
||||||
order: Vec<String>,
|
pub order: Vec<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Default for SectionConfigData {
|
impl Default for SectionConfigData {
|
||||||
|
Loading…
Reference in New Issue
Block a user