Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomsonTan committed Apr 29, 2021
1 parent e2f7710 commit 9abc72e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sdk/src/trace/tracer_provider.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ nostd::shared_ptr<opentelemetry::trace::Tracer> TracerProvider::GetTracer(
nostd::string_view library_name,
nostd::string_view library_version) noexcept
{
if (library_name.data() == nullptr) {
library_name = "";
if (library_name.data() == nullptr)
{
library_name = "";
}
// if (library_name == "") {
// // TODO: log invalid library_name.
Expand Down

0 comments on commit 9abc72e

Please sign in to comment.