diff --git a/sources/handlers/ServerListHandler.py b/sources/handlers/ServerListHandler.py index f35157c..d0a980f 100644 --- a/sources/handlers/ServerListHandler.py +++ b/sources/handlers/ServerListHandler.py @@ -145,7 +145,7 @@ def generate_wp_rocket_ips_human_readable(self, app_context): ovh_ipv6 = '' for server_name in all_server_list: display_name = self.ovh_api_factory.get_dedicated_server_display_name(app_context, server_name) - if 'worker' in display_name: + if 'worker' in display_name or 'mirror' in display_name: server_ips = self.ovh_api_factory.get_dedicated_server_ips(app_context, server_name) if server_ips is None: continue @@ -191,7 +191,7 @@ def generate_wp_rocket_ipv4_machine_readable(self, app_context): ovh_ipv4 = '' for server_name in all_server_list: display_name = self.ovh_api_factory.get_dedicated_server_display_name(app_context, server_name) - if 'worker' in display_name: + if 'worker' in display_name or 'mirror' in display_name: server_ips = self.ovh_api_factory.get_dedicated_server_ips(app_context, server_name) if server_ips is None: continue @@ -213,7 +213,7 @@ def generate_wp_rocket_ipv6_machine_readable(self, app_context): ovh_ipv6 = '' for server_name in all_server_list: display_name = self.ovh_api_factory.get_dedicated_server_display_name(app_context, server_name) - if 'worker' in display_name: + if 'worker' in display_name or 'mirror' in display_name: server_ips = self.ovh_api_factory.get_dedicated_server_ips(app_context, server_name) if server_ips is None: continue