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 setup logic to lib to enable reuse #215

Merged
merged 3 commits into from
Mar 22, 2021
Merged

Move setup logic to lib to enable reuse #215

merged 3 commits into from
Mar 22, 2021

Conversation

iffyio
Copy link
Collaborator

@iffyio iffyio commented Mar 20, 2021

No description provided.

@iffyio iffyio requested a review from markmandel March 20, 2021 17:00
@google-cla google-cla bot added the cla: yes label Mar 20, 2021
Copy link
Contributor

@markmandel markmandel left a comment

Choose a reason for hiding this comment

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

LGTM. Super minor nit on the log source, but that's it.

@@ -348,12 +348,19 @@ pub struct FilterRegistry {
}

impl FilterRegistry {
/// insert registers a Filter under the provider's given name.
pub fn insert<P: 'static>(&mut self, provider: P)
/// insert adds a [`FilterFactory`] to this filter registry.
Copy link
Contributor

Choose a reason for hiding this comment

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

Much better naming 👍🏻

src/runner.rs Outdated Show resolved Hide resolved
Co-authored-by: Mark Mandel <markmandel@google.com>
@markmandel markmandel merged commit 450e496 into main Mar 22, 2021
@markmandel markmandel deleted the iu/lib branch March 22, 2021 19:56
@markmandel markmandel added the kind/cleanup Refactoring code, fixing up documentation, etc label Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes kind/cleanup Refactoring code, fixing up documentation, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants