From 30dc788f65d388559b4cff230451b4914e9ef306 Mon Sep 17 00:00:00 2001 From: owentou Date: Tue, 26 Jul 2022 10:44:26 +0800 Subject: [PATCH] Remove duplicated `ElasticSearchRecordable::SetInstrumentationLibrary` Signed-off-by: owentou --- .../exporters/elasticsearch/es_log_recordable.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/exporters/elasticsearch/include/opentelemetry/exporters/elasticsearch/es_log_recordable.h b/exporters/elasticsearch/include/opentelemetry/exporters/elasticsearch/es_log_recordable.h index d64f8bb49d..a9ff1b418f 100644 --- a/exporters/elasticsearch/include/opentelemetry/exporters/elasticsearch/es_log_recordable.h +++ b/exporters/elasticsearch/include/opentelemetry/exporters/elasticsearch/es_log_recordable.h @@ -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()