diff --git a/instrumentation/http_client/lib/opentelemetry/instrumentation/http_client/patches/client.rb b/instrumentation/http_client/lib/opentelemetry/instrumentation/http_client/patches/client.rb index 73ae32a17..46ad72142 100644 --- a/instrumentation/http_client/lib/opentelemetry/instrumentation/http_client/patches/client.rb +++ b/instrumentation/http_client/lib/opentelemetry/instrumentation/http_client/patches/client.rb @@ -11,7 +11,7 @@ module Patches # Module to prepend to HTTPClient for instrumentation module Client # Constant for the HTTP status range - HTTP_STATUS_SUCCESS_RANGE = (100..399).freeze + HTTP_STATUS_SUCCESS_RANGE = (100..399) private