Making custom Elsticsearch logger 2.

This commit is contained in:
Ara Sadoyan
2026-09-24 18:27:53 +02:00
parent d56968c4c3
commit 3fe037de5a
4 changed files with 75 additions and 46 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ async fn build_upstreams(fullist: &UpstreamsDashMap, method: &str) -> UpstreamsD
} else {
format!("http://{}:{}{}", upstream.address, upstream.port, path)
};
let resp = httpclient(method, tls, host, path, upstream.address.as_ref(), upstream.port, link, EMPTY_PAYLOAD).await;
let resp = httpclient(method, tls, host, path, upstream.address.as_ref(), upstream.port, link.as_str(), EMPTY_PAYLOAD).await;
if resp.0 {
if resp.1 {
scheme.is_http2 = resp.1;