Fix the undefined error

This commit is contained in:
Feng Lee 2017-07-23 20:49:58 +08:00
parent 09b4f17065
commit 6b0571d76c
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(),