diff --git a/core/prometheus/async/PromHttpRequest.cpp b/core/prometheus/async/PromHttpRequest.cpp index 1f7b6a4eaa..9485f95262 100644 --- a/core/prometheus/async/PromHttpRequest.cpp +++ b/core/prometheus/async/PromHttpRequest.cpp @@ -32,9 +32,9 @@ PromHttpRequest::PromHttpRequest(const std::string& method, query, header, body, - std::move(response), timeout, maxTryCnt, + std::move(response), followRedirects, std::move(tls)), mFuture(std::move(future)),