From 977aa159f520ae0c59051e56f11a21522fb72102 Mon Sep 17 00:00:00 2001 From: Swann Croiset Date: Fri, 24 Jun 2016 14:49:52 +0200 Subject: [PATCH] Really use the dedicated virtual IP for Nagios UI Change-Id: I8fdb9f940c7ffd5b93da3e58af86c80353b3c3f5 --- stacklight_tests/lma_infrastructure_alerting/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stacklight_tests/lma_infrastructure_alerting/api.py b/stacklight_tests/lma_infrastructure_alerting/api.py index a640cdd..248de7e 100644 --- a/stacklight_tests/lma_infrastructure_alerting/api.py +++ b/stacklight_tests/lma_infrastructure_alerting/api.py @@ -39,10 +39,10 @@ class InfraAlertingPluginApi(base_test.PluginApi): def get_plugin_vip(self): try: + return self.helpers.get_plugin_vip(self.settings.vip_name) + except Exception: return self.helpers.get_plugin_vip( 'infrastructure_alerting_mgmt_vip') - except Exception: - return self.helpers.get_plugin_vip(self.settings.vip_name) def check_plugin_online(self): logger.info("Check that the Nagios server is running")