manager: Add os variable since hostname on macos is weird

This commit is contained in:
2024-11-04 17:07:50 +01:00
parent 9001a8f4bd
commit e0d95e3bd0
7 changed files with 318 additions and 212 deletions

View File

@@ -15,16 +15,16 @@ pub struct Error {
#[derive(Debug, Error)]
pub enum InnerError {
#[error("IO Error: {0}")]
IoErr(#[from] io::Error),
Io(#[from] io::Error),
#[error("Failed to parse template file")]
TemplateErr(#[from] blueprint::Error),
Template(#[from] blueprint::Error),
#[error("Failed to parse toml file")]
TomlErr(#[from] toml::de::Error),
Toml(#[from] toml::de::Error),
#[error("Unsupported variable type")]
TypeErr,
Type,
}
impl From<Vec<Error>> for Errors {