turtled 7 лет назад
Родитель
Сommit
416bc75d5d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/emqx_plugins.erl

+ 1 - 1
src/emqx_plugins.erl

@@ -144,7 +144,7 @@ list() ->
             true  -> Plugin#plugin{active = true};
             true  -> Plugin#plugin{active = true};
             false -> Plugin
             false -> Plugin
         end
         end
-    end, ekka_boot:all_module_attributes(emqx_plugin)).
+    end, lists:sort(ekka_boot:all_module_attributes(emqx_plugin))).
 
 
 plugin(AppName) ->
 plugin(AppName) ->
     case application:get_all_key(AppName) of
     case application:get_all_key(AppName) of