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;
break;
}
},
}
Err(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);
data
},
}
"content" => {
info!("Reading upstreams from API post body");
d.to_string()