Skip to content

Commit

Permalink
change var name
Browse files Browse the repository at this point in the history
  • Loading branch information
lalitb committed Jul 16, 2021
1 parent 461eab9 commit 6971333
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions sdk/include/opentelemetry/sdk/trace/span_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,10 @@ class SpanData final : public Recordable
{
// this shouldn't happen as Tracer ensures there is valid default instrumentation library.
static std::unique_ptr<opentelemetry::sdk::instrumentationlibrary::InstrumentationLibrary>
ilib = opentelemetry::sdk::instrumentationlibrary::InstrumentationLibrary::Create(
"unknown_service");
return *ilib;
instrumentation_library =
opentelemetry::sdk::instrumentationlibrary::InstrumentationLibrary::Create(
"unknown_service");
return *instrumentation_library;
}
return *instrumentation_library_;
}
Expand Down

0 comments on commit 6971333

Please sign in to comment.