From 3230abdb3001153b743ff60e7faea43984735778 Mon Sep 17 00:00:00 2001 From: Yegor Zdanovich Date: Fri, 10 Apr 2026 16:21:08 +0300 Subject: [PATCH] use status code explicitly in central config --- lib/elastic_apm/central_config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/elastic_apm/central_config.rb b/lib/elastic_apm/central_config.rb index 0778041c8..54c5f99e2 100644 --- a/lib/elastic_apm/central_config.rb +++ b/lib/elastic_apm/central_config.rb @@ -75,7 +75,7 @@ def fetch_config resp = perform_request # rubocop:disable Lint/DuplicateBranch - case resp.status + case resp.status.code when 200..299 resp when 300..399