aboutsummaryrefslogtreecommitdiffstats
path: root/app/test/event_based_scan/test_interface_add.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/event_based_scan/test_interface_add.py')
-rw-r--r--app/test/event_based_scan/test_interface_add.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/test/event_based_scan/test_interface_add.py b/app/test/event_based_scan/test_interface_add.py
index 04a1982..542f84e 100644
--- a/app/test/event_based_scan/test_interface_add.py
+++ b/app/test/event_based_scan/test_interface_add.py
@@ -25,7 +25,7 @@ class TestInterfaceAdd(TestEvent):
def get_by_id(self, env, object_id):
interface = self.values["payload"]["router_interface"]
host_id = self.values["publisher_id"].replace("network.", "", 1)
- router_id = encode_router_id(host_id, interface['id'])
+ router_id = encode_router_id(interface['id'])
if object_id == host_id:
return HOST