Merge pull request #1159 from emqtt/develop

Fix the undefined error
This commit is contained in:
Feng Lee 2017-07-23 21:21:49 +08:00 committed by GitHub
commit 0537351eed
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ register_acl_mod() ->
start_autocluster() -> start_autocluster() ->
ekka:callback(prepare, fun emqttd:shutdown/1), ekka:callback(prepare, fun emqttd:shutdown/1),
ekka:callback(reboot, fun emqttd:reboot/0), ekka:callback(reboot, fun emqttd:reboot/0),
ekka:autocluster(fun after_autocluster/0). ekka:autocluster(?APP, fun after_autocluster/0).
after_autocluster() -> after_autocluster() ->
emqttd_plugins:init(), emqttd_plugins:init(),