Skip to content

Backport(v1.16): rubocop: fix trailing-whitespace (#4928) #4943

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 30, 2025

Conversation

kenhys
Copy link
Contributor

@kenhys kenhys commented Apr 30, 2025

Which issue(s) this PR fixes:
Backport: #4928
Fixes #

What this PR does / why we need it:

It will reduce rubocop warnings with the following configuration:

  Layout/TrailingWhitespace:
    Enabled: true

This is just cosmetic change. It will not break tests.

NOTE: the following files are additionally detected only in v1.16 branch

  • lib/fluent/plugin/in_http.rb
  • lib/fluent/plugin/in_tail.rb
  • test/plugin/test_in_http.rb

Docs Changes:

N/A

Release Note:

N/A

**Which issue(s) this PR fixes**:
Backport: fluent#4928
Fixes #

**What this PR does / why we need it**:

It will reduce rubocop warnings with the following configuration:

```yml
  Layout/TrailingWhitespace:
    Enabled: true
```

This is just cosmetic change. It will not break tests.

NOTE: the following files are additionally detected only in v1.16 branch
* lib/fluent/plugin/in_http.rb
* lib/fluent/plugin/in_tail.rb
* test/plugin/test_in_http.rb

**Docs Changes**:

N/A

**Release Note**:

N/A

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
@kenhys kenhys changed the title rubocop: fix trailing-whitespace (#4928) Backport(v1.16): rubocop: fix trailing-whitespace (#4928) Apr 30, 2025
Copy link
Contributor

@daipom daipom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@daipom daipom added this to the v1.16.8 milestone Apr 30, 2025
@daipom daipom merged commit 520b7b5 into fluent:v1.16 Apr 30, 2025
16 checks passed
@kenhys kenhys deleted the backport-4928 branch May 27, 2025 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants