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

Move default filtered events to settings #901

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Comment on lines 129 to 141
:ems_openstack_network:
:blacklisted_event_names:
- scheduler.run_instance.start
- scheduler.run_instance.scheduled
- scheduler.run_instance.end
:ems_openstack_infra:
:blacklisted_event_names:
- identity.authenticate
Copy link
Member

Choose a reason for hiding this comment

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

alpha sort

Suggested change
:ems_openstack_network:
:blacklisted_event_names:
- scheduler.run_instance.start
- scheduler.run_instance.scheduled
- scheduler.run_instance.end
:ems_openstack_infra:
:blacklisted_event_names:
- identity.authenticate
:ems_openstack_infra:
:blacklisted_event_names:
- identity.authenticate
:ems_openstack_network:
:blacklisted_event_names:
- scheduler.run_instance.start
- scheduler.run_instance.scheduled
- scheduler.run_instance.end

Copy link
Member

@Fryguy Fryguy left a comment

Choose a reason for hiding this comment

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

one very minor comment

%w(
identity.authenticate
)
Settings.ems.ems_openstack_infra.blacklisted_event_names
Copy link
Member

@Fryguy Fryguy Jan 28, 2025

Choose a reason for hiding this comment

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

Should this be?

Suggested change
Settings.ems.ems_openstack_infra.blacklisted_event_names
Settings.ems["ems_#{ems_type}"].blacklisted_event_names

Asking because the other PRs don't have any code changes in this method, so I suspect you need it here?

scheduler.run_instance.scheduled
scheduler.run_instance.end
)
Settings.ems.ems_openstack_network.blacklisted_event_names
Copy link
Member

Choose a reason for hiding this comment

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

Same here?

@Fryguy Fryguy self-assigned this Jan 28, 2025
@Fryguy Fryguy added the bug label Jan 28, 2025
@agrare agrare force-pushed the move_default_filtered_events_to_settings branch from 340ad0c to ffc570a Compare January 28, 2025 21:41
@agrare
Copy link
Member Author

agrare commented Jan 28, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants