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

Add in missing word Rule from subject line. #35

Merged
merged 1 commit into from
Aug 15, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions reflex_core/aws_rule_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def get_remediation_message_subject(self):
"(?=(?<=[a-z])[A-Z])|(?=[A-Z](?=[a-z])|(?=^[A-Z]))", subject
)
fixed_subject = " ".join(subject_split)
return f"The Reflex {fixed_subject} was triggered."
return f"The Reflex Rule {fixed_subject} was triggered."

def add_pre_compliance_check_functions(self, functions):
"""Sets a function or list of functions to be run before the resource
Expand Down Expand Up @@ -359,7 +359,7 @@ def remove_pre_compliance_check_functions(self, functions):
)

def add_post_compliance_check_functions(self, functions):
"""Sets a function or list of functions to be run after the resource
"""Sets a function or list of functions to be run after the resource
compliance check occurs.

If anything other than a function is present in the list, it will be ignored.
Expand Down