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

dns_cache: Remove getCacheManager() #16273

Merged
merged 1 commit into from
May 3, 2021

Conversation

RyanTheOptimist
Copy link
Contributor

dns_cache: Remove getCacheManager()

Remove the function getCacheManager() which was declared in dns_cache.h,
defined in dns_cache_manager_impl.cc and called in dns_cache_manager_impl.h.
Instead, simply inline this method into DnsCacheManagerFactoryImpl::get()
which was the only place it was called.

Risk Level: Low
Testing: N/A - no code behavior change
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

Remove the function getCacheManager() which was declared in dns_cache.h,
defined in dns_cache_manager_impl.cc and called in dns_cache_manager_impl.h.
Instead, simply inline this method into DnsCacheManagerFactoryImpl::get()
which was the only place it was called.

Signed-off-by: Ryan Hamilton <[email protected]>
@RyanTheOptimist
Copy link
Contributor Author

Alyssa, hopefully this is a pretty trivial PR. The getCacheManager() function was pretty odd :)

@alyssawilk alyssawilk merged commit fc6099e into envoyproxy:main May 3, 2021
gokulnair pushed a commit to gokulnair/envoy that referenced this pull request May 5, 2021
dns_cache: Remove getCacheManager()

Remove the function getCacheManager() which was declared in dns_cache.h,
defined in dns_cache_manager_impl.cc and called in dns_cache_manager_impl.h.
Instead, simply inline this method into DnsCacheManagerFactoryImpl::get()
which was the only place it was called.

Risk Level: Low
Testing: N/A - no code behavior change
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

Signed-off-by: Ryan Hamilton <[email protected]>
Signed-off-by: Gokul Nair <[email protected]>
gokulnair pushed a commit to gokulnair/envoy that referenced this pull request May 6, 2021
dns_cache: Remove getCacheManager()

Remove the function getCacheManager() which was declared in dns_cache.h,
defined in dns_cache_manager_impl.cc and called in dns_cache_manager_impl.h.
Instead, simply inline this method into DnsCacheManagerFactoryImpl::get()
which was the only place it was called.

Risk Level: Low
Testing: N/A - no code behavior change
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

Signed-off-by: Ryan Hamilton <[email protected]>
Signed-off-by: Gokul Nair <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants