parceyaml

This commit is contained in:
Ara Sadoyan
2026-05-27 14:26:05 +02:00
parent 3cf0fc493f
commit 5c3b72b7a3

View File

@@ -31,7 +31,7 @@ pub async fn load_configuration(d: &str, kind: &str) -> (Option<Configuration>,
data = content; data = content;
break; break;
} }
}, }
Err(e) => { Err(e) => {
last_error = Some(e); last_error = Some(e);
} }
@@ -95,8 +95,7 @@ pub async fn load_configuration(d: &str, kind: &str) -> (Option<Configuration>,
info!("Reading upstreams from {}", d); info!("Reading upstreams from {}", d);
data data
}
},
"content" => { "content" => {
info!("Reading upstreams from API post body"); info!("Reading upstreams from API post body");
d.to_string() d.to_string()