aboutsummaryrefslogtreecommitdiff
path: root/src/mod_mqtt_bridge_opt.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_mqtt_bridge_opt.erl')
-rw-r--r--src/mod_mqtt_bridge_opt.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_mqtt_bridge_opt.erl b/src/mod_mqtt_bridge_opt.erl
index 3bb0a2145..fe423811f 100644
--- a/src/mod_mqtt_bridge_opt.erl
+++ b/src/mod_mqtt_bridge_opt.erl
@@ -12,7 +12,7 @@ replication_user(Opts) when is_map(Opts) ->
replication_user(Host) ->
gen_mod:get_module_opt(Host, mod_mqtt_bridge, replication_user).
--spec servers(gen_mod:opts() | global | binary()) -> any().
+-spec servers(gen_mod:opts() | global | binary()) -> {[{atom(),'gen_tcp' | 'ssl',binary(),non_neg_integer(),#{binary()=>binary()},#{binary()=>binary()},binary()}],#{binary()=>[atom()]}}.
servers(Opts) when is_map(Opts) ->
gen_mod:get_opt(servers, Opts);
servers(Host) ->