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: Handle monitorID error not found #2640

Closed
wants to merge 4 commits into from
Closed

fix: Handle monitorID error not found #2640

wants to merge 4 commits into from

Conversation

abasha1234
Copy link
Member

@abasha1234 abasha1234 commented Apr 22, 2024

Description

This PR includes changes for throwing an error as invalid monitor ID when an invalid monitor ID is provided for the resource newrelic_synthetics_multilocation_alert_condition.

Ticket : https://new-relic.atlassian.net/browse/NR-257490

Fixes # (issue)
Issue: #2631

Checklist:

Please delete options that are not relevant.

  • My commit message follows conventional commits
  • My code is formatted to Go standards
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes. Go here for instructions on running tests locally.

@pranav-new-relic
Copy link
Member

@abasha1234 the changes good look to me. Can you please also add a test case (with an invalid monitor ID in the entities field) and validate the error being thrown?

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.

2 participants