fix: Haproxy now has SSL:Other(String) to store unknown values from opnsense, also ran a cargo fmt
Some checks failed
Run Check Script / check (pull_request) Failing after 58s
Some checks failed
Run Check Script / check (pull_request) Failing after 58s
This commit is contained in:
@@ -51,7 +51,6 @@ pub struct OPNsense {
|
||||
|
||||
impl From<String> for OPNsense {
|
||||
fn from(content: String) -> Self {
|
||||
|
||||
yaserde::de::from_str(&content)
|
||||
.map_err(|e| println!("{}", e))
|
||||
.expect("OPNSense received invalid string, should be full XML")
|
||||
|
||||
Reference in New Issue
Block a user