Remove dead code related to the HTTP standard ports

Change-Id: I512c03d27a302f594658ecca28ec8d8ac6100845
This commit is contained in:
Swann Croiset 2016-08-02 11:39:54 +02:00
parent a914841794
commit d877fba089
2 changed files with 0 additions and 8 deletions

View File

@ -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

View File

@ -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