Przeglądaj źródła

fix(emqx_conf): Fix type

k32 4 lat temu
rodzic
commit
e969eff702
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      apps/emqx_conf/src/proto/emqx_conf_proto_v1.erl

+ 2 - 1
apps/emqx_conf/src/proto/emqx_conf_proto_v1.erl

@@ -69,7 +69,8 @@ update(KeyPath, UpdateReq, Opts) ->
 update(Node, KeyPath, UpdateReq, Opts) ->
     rpc:call(Node, emqx, update_config, [KeyPath, UpdateReq, Opts], 5000).
 
--spec remove_config(update_config_key_path(), emqx_config:update_opts()) -> _.
+-spec remove_config(update_config_key_path(), emqx_config:update_opts()) ->
+          emqx_cluster_rpc:multicall_result().
 remove_config(KeyPath, Opts) ->
     emqx_cluster_rpc:multicall(emqx, remove_config, [KeyPath, Opts]).