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

Change: remove level critical notification option #51

Merged
merged 2 commits into from
Dec 12, 2024

Conversation

llugin
Copy link
Contributor

@llugin llugin commented Dec 12, 2024

What

Remove critical level notification option

Why

It's not used

References

VTI-425

@llugin llugin requested review from a team as code owners December 12, 2024 14:02
Copy link

Conventional Commits Report

Type Number
Changed 1

🚀 Conventional commits found.

@llugin llugin added the minor release Set label to create a minor release label Dec 12, 2024
mgoetzegb
mgoetzegb previously approved these changes Dec 12, 2024
@mgoetzegb mgoetzegb dismissed their stale review December 12, 2024 14:20

incomplete

Copy link
Member

@mgoetzegb mgoetzegb left a comment

Choose a reason for hiding this comment

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

Should we maybe remove the level completely and not just from the option?

In the end I guess it is nowhere enforced what can be set as level string and only the api docs still reference the level critical:

Level string `json:"level" binding:"required" enums:"info,warning,error,critical"`

So it could be removed from there as well, as it might be confusing if the docs suggest a level which we can't filter for.

llugin added a commit to greenbone/opensight-golang-libraries that referenced this pull request Dec 12, 2024
VTI-425
Remove level critical notification, as it was removed from
[notification-service](greenbone/opensight-notification-service#51)
@llugin llugin merged commit 61b5fff into main Dec 12, 2024
11 checks passed
@llugin llugin deleted the VTI-425-remove-level-critical-option branch December 12, 2024 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor release Set label to create a minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants