From d877fba0893ea47c772ad3b51df0292cbad922ae Mon Sep 17 00:00:00 2001 From: Swann Croiset Date: Tue, 2 Aug 2016 11:39:54 +0200 Subject: [PATCH] Remove dead code related to the HTTP standard ports Change-Id: I512c03d27a302f594658ecca28ec8d8ac6100845 --- stacklight_tests/influxdb_grafana/api.py | 4 ---- stacklight_tests/lma_infrastructure_alerting/api.py | 4 ---- 2 files changed, 8 deletions(-) diff --git a/stacklight_tests/influxdb_grafana/api.py b/stacklight_tests/influxdb_grafana/api.py index 3504c64..14f5dbe 100644 --- a/stacklight_tests/influxdb_grafana/api.py +++ b/stacklight_tests/influxdb_grafana/api.py @@ -35,10 +35,6 @@ class InfluxdbPluginApi(base_test.PluginApi): self._grafana_port = 80 else: self._grafana_port = 443 - # TODO(pasquier-s): remove this code once all plugins use the - # standard ports - if self.checkers.check_port(self.get_influxdb_vip(), 8000): - self._grafana_port = 8000 return self._grafana_port @property diff --git a/stacklight_tests/lma_infrastructure_alerting/api.py b/stacklight_tests/lma_infrastructure_alerting/api.py index 1e80aa8..ffbb3d4 100644 --- a/stacklight_tests/lma_infrastructure_alerting/api.py +++ b/stacklight_tests/lma_infrastructure_alerting/api.py @@ -37,10 +37,6 @@ class InfraAlertingPluginApi(base_test.PluginApi): self._nagios_port = 80 else: self._nagios_port = 443 - # TODO(pasquier-s): remove this code once all plugins use the - # standard ports - if self.checkers.check_port(self.get_nagios_vip(), 8001): - self._nagios_port = 8001 return self._nagios_port @property