Skip to content

Commit

Permalink
Adhere to code and format requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
chusitoo committed Nov 2, 2024
1 parent 3be305e commit 78f9a0b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ option(
"Whether to include gzip compression for the OTLP http exporter in the SDK"
OFF)

option(WITH_CURL_LOGGING "Whether to enable select CURL verbosity in OTel logs" OFF)
option(WITH_CURL_LOGGING "Whether to enable select CURL verbosity in OTel logs"
OFF)

option(WITH_ZIPKIN "Whether to include the Zipkin exporter in the SDK" OFF)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class Request : public opentelemetry::ext::http::client::Request
compression_ = compression;
}

void EnableLogging(bool needs_to_log) noexcept override { needs_to_log_ = needs_to_log; };
void EnableLogging(bool needs_to_log) noexcept override { needs_to_log_ = needs_to_log; }

public:
opentelemetry::ext::http::client::Method method_;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class HttpOperation
bool is_raw_response = false,
std::chrono::milliseconds http_conn_timeout = default_http_conn_timeout,
bool reuse_connection = false,
bool needs_to_log_ = false);
bool needs_to_log = false);

/**
* Destroy CURL instance
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class Request : public opentelemetry::ext::http::client::Request
compression_ = compression;
}

void EnableLogging(bool needs_to_log) noexcept override { needs_to_log_ = needs_to_log; };
void EnableLogging(bool needs_to_log) noexcept override { needs_to_log_ = needs_to_log; }

public:
opentelemetry::ext::http::client::Method method_;
Expand Down

0 comments on commit 78f9a0b

Please sign in to comment.