Skip to content

Commit 6ffd4c2

Browse files
committed
Fix CI warnings
1 parent 361e602 commit 6ffd4c2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

exporters/otlp/src/otlp_http_client.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ OtlpHttpClient::createSession(
896896
// Parse uri and store it to cache
897897
if (http_uri_.empty())
898898
{
899-
const auto& parse_url = opentelemetry::ext::http::common::UrlParser(options_.url);
899+
const auto &parse_url = opentelemetry::ext::http::common::UrlParser(options_.url);
900900
if (!parse_url.success_)
901901
{
902902
std::string error_message = "[OTLP HTTP Client] Export failed, invalid url: " + options_.url;

ext/src/http/client/curl/http_client_curl.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ int deflateInPlace(z_stream *strm, unsigned char *buf, uint32_t len, uint32_t *m
6363
{
6464
// must be large enough to hold zlib or gzip header (if any) and one more byte -- 11 works for the
6565
// worst case here, but if gzip encoding is used and a deflateSetHeader() call is inserted in this
66-
// code after the deflateReset(), then the 11 needs to be increased to accomodate the resulting
66+
// code after the deflateReset(), then the 11 needs to be increased to accommodate the resulting
6767
// gzip header size plus one
6868
std::array<unsigned char, 11> temp{};
6969

@@ -134,7 +134,7 @@ void Session::SendRequest(
134134
std::shared_ptr<opentelemetry::ext::http::client::EventHandler> callback) noexcept
135135
{
136136
is_session_active_.store(true, std::memory_order_release);
137-
const auto& url = host_ + http_request_->uri_;
137+
const auto &url = host_ + http_request_->uri_;
138138
auto callback_ptr = callback.get();
139139
bool reuse_connection = false;
140140

0 commit comments

Comments
 (0)