Skip to content

Commit fb6b690

Browse files
authored
chore: remove static host list provider (#1075)
1 parent ae8024a commit fb6b690

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

aws_advanced_python_wrapper/aurora_initial_connection_strategy_plugin.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,6 @@ def _get_reader(self, props: Properties) -> Optional[HostInfo]:
216216

217217
def init_host_provider(self, props: Properties, host_list_provider_service: HostListProviderService, init_host_provider_func: Callable):
218218
self._host_list_provider_service = host_list_provider_service
219-
if host_list_provider_service.is_static_host_list_provider():
220-
raise AwsWrapperError(Messages.get("AuroraInitialConnectionStrategyPlugin.RequireDynamicProvider"))
221-
222219
init_host_provider_func(props)
223220

224221
def _has_no_readers(self) -> bool:

0 commit comments

Comments
 (0)