-
Notifications
You must be signed in to change notification settings - Fork 6
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
Generic indexes #24
Generic indexes #24
Conversation
Signed-off-by: Shashank Reddy Boyapally <[email protected]>
Signed-off-by: Shashank Reddy Boyapally <[email protected]>
Signed-off-by: Shashank Reddy Boyapally <[email protected]>
fmatch/matcher.py
Outdated
) | ||
handler.setFormatter(formatter) | ||
self.logger.addHandler(handler) | ||
# Check if handlers are already added to avoid duplication |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thinking we should keep this change as part of the separate pr here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes it is handled in a seperate PR, added this to avoid confusion. I can roll-back a commit.
9589e6e
to
699f3f3
Compare
@@ -78,7 +78,7 @@ def test_get_uuid_by_metadata(matcher_instance): | |||
|
|||
|
|||
def test_match_kube_burner(matcher_instance): | |||
result = matcher_instance.match_kube_burner(["uuid1"]) | |||
result = matcher_instance.match_kube_burner(["uuid1"],index="ospst-*") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for the test lets call out ospst-kube-burner (if that is the index) because we also have other indexes being dropped into ospst
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is just a mockup test it really does not really matter what index I pass through.. it'll return the preset mock value instead of querying our es-instance.
Type of change
Description
changed to generic index and verify certs added
Related Tickets & Documents
Checklist before requesting a review
Testing