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

fix: Bring back get alerts project flags #186

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

nieomylnieja
Copy link
Contributor

@nieomylnieja nieomylnieja commented Aug 12, 2024

Motivation

Alerts, while not directly Project scoped, support Project filtering.
With the changes introduced in #177, the flag was removed.
This PR brings it back.

Testing

Build sloctl with make build locally and run sloctl get alert -A and sloctl get alert -p <project_name>.

Release Notes

sloctl get alert once again supports both -p and -A flags for Project filtering.
These flags were removed as a regression in v0.4.0.

@n9-machine-user n9-machine-user added bug Something isn't working go patch labels Aug 12, 2024
@klaudia-nobl9 klaudia-nobl9 added the passed-testing Added by QA when tests have passed label Aug 12, 2024
Copy link

@klaudia-nobl9 klaudia-nobl9 left a comment

Choose a reason for hiding this comment

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

Tested locally, lgtm

@nieomylnieja nieomylnieja merged commit 370a0cf into main Aug 12, 2024
7 checks passed
@nieomylnieja nieomylnieja deleted the add-project-flag-to-alerts branch August 12, 2024 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working go passed-testing Added by QA when tests have passed patch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants