diff --git a/source/extensions/common/dynamic_forward_proxy/dns_cache_manager_impl.cc b/source/extensions/common/dynamic_forward_proxy/dns_cache_manager_impl.cc index 3fea4fcec98a5..37f7b750759fa 100644 --- a/source/extensions/common/dynamic_forward_proxy/dns_cache_manager_impl.cc +++ b/source/extensions/common/dynamic_forward_proxy/dns_cache_manager_impl.cc @@ -32,7 +32,6 @@ DnsCacheSharedPtr DnsCacheManagerImpl::getCache( } DnsCacheSharedPtr DnsCacheManagerImpl::lookUpCacheByName(absl::string_view cache_name) { - ASSERT(context_.mainThreadDispatcher().isThreadSafe()); const auto& existing_cache = caches_.find(cache_name); if (existing_cache != caches_.end()) { return existing_cache->second.cache_;