Skip to content

Commit b802a34

Browse files
committed
Fix rubocop's Lint/UselessConstantScoping error
1 parent 387b6b0 commit b802a34

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/fluent/plugin/opentelemetry/http_input_handler.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ def read_body(request, limit:)
119119
end
120120

121121
BYTES_TO_READ = 64 * 1024
122+
private_constant :BYTES_TO_READ
122123

123124
def decompress(compressed_data, limit:)
124125
io = StringIO.new(compressed_data)

0 commit comments

Comments
 (0)