From d95d7687dd92f0171d3f4a1107be155b9dffde8a Mon Sep 17 00:00:00 2001 From: Sam <370182+plantfansam@users.noreply.github.com> Date: Tue, 20 Feb 2024 08:43:50 -0700 Subject: [PATCH] Update instrumentation/trilogy/lib/opentelemetry/instrumentation/trilogy/instrumentation.rb Co-authored-by: Francis Bogsanyi --- .../opentelemetry/instrumentation/trilogy/instrumentation.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/instrumentation/trilogy/lib/opentelemetry/instrumentation/trilogy/instrumentation.rb b/instrumentation/trilogy/lib/opentelemetry/instrumentation/trilogy/instrumentation.rb index 852e34a0f..684fbe660 100644 --- a/instrumentation/trilogy/lib/opentelemetry/instrumentation/trilogy/instrumentation.rb +++ b/instrumentation/trilogy/lib/opentelemetry/instrumentation/trilogy/instrumentation.rb @@ -45,8 +45,7 @@ def configure_propagator(config) propagator = config[:propagator] @propagator = case propagator when 'vitess' then fetch_propagator(propagator, 'OpenTelemetry::Propagator::Vitess') - when 'none', nil - nil + when 'none', nil then nil else OpenTelemetry.logger.warn "The #{propagator} propagator is unknown and cannot be configured" end