Commit bd769322 authored by lavado's avatar lavado
Browse files

minor fix to primitive

parent d3f687aa
......@@ -53,7 +53,7 @@ class EnodebCharm(CharmBase):
self.on.attach_ue_action,
self.on.unregister_action,
self.on.detach_ue_action,
self.on.remove_default_gw,
self.on.remove_default_gw_action,
):
self.framework.observe(event, self)
......@@ -173,7 +173,7 @@ class EnodebCharm(CharmBase):
except Exception as e:
event.fail(e)
def remove_default_gw(self, event):
def on_remove_default_gw_action(self, event):
"""Remove default gw"""
try:
command = "sudo route del default"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment