Closed bofaalsarah closed 5 months ago
Attention: 11 lines
in your changes are missing coverage. Please review.
Comparison is base (
c0913e2
) 54.79% compared to head (1b66450
) 54.99%.
Files | Patch % | Lines |
---|---|---|
pkg/services/opsgenie.go | 0.00% | 11 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thank you @bofaalsarah , could you please add test for it ?
Thank you @bofaalsarah , could you please add test for it ?
Done ✅
LGTM, thank you
@bofaalsarah only one thing, could you please add some documentation about it? it can be dedicated PR
Sure, I will create another PR for the documentation
This PR adds support for setting the priority field in Opsgenie notifications. If a priority is provided in the notification, it will be included in the alert creation request to Opsgenie. Additionally, the code now checks for missing description in Opsgenie notifications and returns an error if it's missing.