diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2016-09-26 16:53:42 -0400 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2016-09-26 16:53:42 -0400 |
commit | 24e9d3bbc98232062a4233f7f5de4f00cc256242 (patch) | |
tree | c8108a383e7bba48bb0346a3dc1e2f2c4b60874f /src/leap/bitmask/core/dispatcher.py | |
parent | e30e480cc6945cf59aaa4cf762fd9e9bbdc8abe3 (diff) |
[refactor] call it start/stop
Diffstat (limited to 'src/leap/bitmask/core/dispatcher.py')
-rw-r--r-- | src/leap/bitmask/core/dispatcher.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/leap/bitmask/core/dispatcher.py b/src/leap/bitmask/core/dispatcher.py index 82a0d8e..2950896 100644 --- a/src/leap/bitmask/core/dispatcher.py +++ b/src/leap/bitmask/core/dispatcher.py @@ -358,9 +358,9 @@ class CommandDispatcher(object): def do_STATUS(self, *parts): return _format_result(self.core.do_status()) - @register_method("{'shutdown': 'ok'}") - def do_SHUTDOWN(self, *parts): - return _format_result(self.core.do_shutdown()) + @register_method("{'stop': 'ok'}") + def do_STOP(self, *parts): + return _format_result(self.core.do_stop()) # ----------------------------------------------- |