Skip to content

Commit

Permalink
Remove duplicated ElasticSearchRecordable::SetInstrumentationLibrary
Browse files Browse the repository at this point in the history
Signed-off-by: owentou <[email protected]>
  • Loading branch information
owent committed Jul 26, 2022
1 parent 1b40c58 commit e94545f
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,14 +212,6 @@ class ElasticSearchRecordable final : public sdk::logs::Recordable
instrumentation_scope_ = &instrumentation_scope;
}

OPENTELEMETRY_DEPRECATED_MESSAGE("Please use SetInstrumentationScope instead")
void SetInstrumentationLibrary(
const opentelemetry::sdk::instrumentationscope::InstrumentationScope
&instrumentation_scope) noexcept
{
SetInstrumentationScope(instrumentation_scope);
}

/** Returns the associated instruementation library */
OPENTELEMETRY_DEPRECATED_MESSAGE("Please use GetInstrumentationScope instead")
const opentelemetry::sdk::instrumentationscope::InstrumentationScope &GetInstrumentationLibrary()
Expand Down

0 comments on commit e94545f

Please sign in to comment.