Skip to content

Commit 08202d1

Browse files
committed
fix
1 parent 5b1d196 commit 08202d1

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.rubocop_todo.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2025-04-16 04:41:33 UTC using RuboCop version 1.75.2.
3+
# on 2025-04-17 08:02:22 UTC using RuboCop version 1.75.2.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
@@ -41,17 +41,19 @@ Style/Documentation:
4141
- 'lib/fluent/plugin/otlp/service_stub.rb'
4242
- 'lib/fluent/plugin/out_otlp.rb'
4343

44-
# Offense count: 4
44+
# Offense count: 5
4545
# This cop supports safe autocorrection (--autocorrect).
4646
# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
4747
Style/GuardClause:
4848
Exclude:
49+
- 'lib/fluent/plugin/in_otlp.rb'
4950
- 'lib/fluent/plugin/out_otlp.rb'
5051

51-
# Offense count: 1
52+
# Offense count: 2
5253
# This cop supports safe autocorrection (--autocorrect).
5354
Style/IfUnlessModifier:
5455
Exclude:
56+
- 'lib/fluent/plugin/in_otlp.rb'
5557
- 'lib/fluent/plugin/out_otlp.rb'
5658

5759
# Offense count: 3

lib/fluent/plugin/in_otlp.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ class OtlpInput < Input
4343
config_param :port, :integer, default: 4318
4444
end
4545

46-
4746
config_section :grpc, required: false, multi: false, init: false, param_name: :grpc_config do
4847
desc "The address to bind to."
4948
config_param :bind, :string, default: "0.0.0.0"

0 commit comments

Comments
 (0)