summaryrefslogtreecommitdiffstats
path: root/app/monitoring/setup/monitoring_pnic.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/monitoring/setup/monitoring_pnic.py')
-rw-r--r--app/monitoring/setup/monitoring_pnic.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/monitoring/setup/monitoring_pnic.py b/app/monitoring/setup/monitoring_pnic.py
index d64c8ff..fdc1c94 100644
--- a/app/monitoring/setup/monitoring_pnic.py
+++ b/app/monitoring/setup/monitoring_pnic.py
@@ -17,5 +17,4 @@ class MonitoringPnic(MonitoringSimpleObject):
# add monitoring setup for remote host
def create_setup(self, o):
- if o.get("pnic_type") != "switch":
- self.setup('pnic', o)
+ self.setup('host_pnic', o)