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

Refactor Config.get_endpoints() #46

Merged
merged 1 commit into from
Apr 29, 2020
Merged

Conversation

markmandel
Copy link
Member

Not sure why I decided to have that function return a HashMap, but to
implement filters, we need access to the underlying Endpoints, since
they get passed into several Filter functions.

So refactored the function to return a Vec, which will make
things much easier to work with.

Work on #1

Not sure why I decided to have that function return a HashMap, but to
implement filters, we need access to the underlying Endpoints, since
they get passed into several Filter functions.

So refactored the function to return a Vec<Endpoint>, which will make
things much easier to work with.

Work on #1
@markmandel markmandel added the kind/cleanup Refactoring code, fixing up documentation, etc label Apr 28, 2020
@markmandel markmandel merged commit ac36845 into master Apr 29, 2020
@markmandel markmandel deleted the refactor/get_endpoints branch April 29, 2020 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Refactoring code, fixing up documentation, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants