Skip to content
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

BUG: re-add accidently removed flag.Parse #1294

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

developer-guy
Copy link
Contributor

What this PR does / why we need it:

In the commit at d8e2060 I saw that someone accidentally removed the flag.Parse line, which caused fluent-watcher to ignore any CLI flag values, so I added it back

Which issue(s) this PR fixes:

Fixes re

Does this PR introduced a user-facing change?


Additional documentation, usage docs, etc.:


@developer-guy developer-guy changed the title re-add accidently removed flag.Parse BUG: re-add accidently removed flag.Parse Aug 12, 2024
@developer-guy
Copy link
Contributor Author

kindly ping @benjaminhuo

@@ -72,6 +72,8 @@ func main() {
level.Warn(logger).Log("--flb-timeout is deprecated. Consider setting the terminationGracePeriod field on the `(Cluster)FluentBit` instance.")
}

flag.Parse()
Copy link
Member

Choose a reason for hiding this comment

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

Nice catch @developer-guy

cc @cw-Guo

@benjaminhuo benjaminhuo merged commit 19fded0 into fluent:master Aug 12, 2024
6 checks passed
@developer-guy
Copy link
Contributor Author

Thanks @benjaminhuo, one question though, will you cut a new release with that fix included?

@developer-guy
Copy link
Contributor Author

kindly ping @benjaminhuo

@cw-Guo
Copy link
Collaborator

cw-Guo commented Aug 12, 2024

@developer-guy A new version is scheduled, see this issue. thanks for the good catch again!

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.

3 participants