Skip to content

Conversation

@ImMin5
Copy link
Member

@ImMin5 ImMin5 commented Apr 30, 2025

Category

  • New feature
  • Bug fix
  • Improvement
  • Refactor
  • etc

Description

  • Modify error message

Known issue

Signed-off-by: ImMin5 <mino@megazone.com>
@ImMin5 ImMin5 added the enhancement New feature or request label Apr 30, 2025
@ImMin5 ImMin5 requested a review from Copilot April 30, 2025 04:36
@ImMin5 ImMin5 self-assigned this Apr 30, 2025
@ImMin5 ImMin5 merged commit 0a4e825 into cloudforet-io:master Apr 30, 2025
3 checks passed
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR modifies the error message in the event rule service to provide a clearer explanation and prevent potential infinite loops.

  • Updated the error message to indicate the infinite loop prevention mechanism.
  • Adjusted the message formatting to include parameter values explicitly.
Comments suppressed due to low confidence (1)

src/spaceone/monitoring/service/event_rule_service.py:467

  • [nitpick] The updated error message is clearer, but consider enclosing variable names in backticks or similar delimiters to improve readability and ensure consistency with other error messages.
reason=f"To avoid an infinite loop, the change_project_id({change_project_id}) in the action must differ from the project_id in the event rule.",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request pass/signedoff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant