-
Notifications
You must be signed in to change notification settings - Fork 919
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
fix --stats-interval flag for values >= 999 (ms) #1308
Conversation
milliseconds Signed-off-by: Leonardo Di Donato <[email protected]>
To match the style of other long flags of the Falco CLI. Signed-off-by: Leonardo Di Donato <[email protected]>
/milestone 0.24.0 |
Signed-off-by: Leonardo Grasso <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM,
Note that I found it was not working properly because of a missing renaming, so I added it by 07501a0
(It was always setting the timer to the default value since the --stats-interval
's value was not used)
LGTM label has been added. Git tree hash: 599d4fc2edd521b1cecdaedeefa66e3bc0446f09
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fntlnz, leogr The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Thanks! |
What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
NONE
What this PR does / why we need it:
Renames
--stats_interval
to--stats-interval
so to match the style of other long flags of the Falco CLI.Fixes its behavior for values greater than 999 milliseconds.
Which issue(s) this PR fixes:
Fixes #1280
Special notes for your reviewer:
Does this PR introduce a user-facing change?: