fix(gw): fix print client record error
This commit is contained in:
parent
adaf3db719
commit
ac3af8260d
|
@ -149,7 +149,7 @@ gateway(_) ->
|
|||
[Chann] ->
|
||||
InfoTab = emqx_gateway_cm:tabname(info, Name),
|
||||
[ChannInfo] = ets:lookup(InfoTab, Chann),
|
||||
print({client, ChannInfo})
|
||||
print_record({client, ChannInfo})
|
||||
end;
|
||||
|
||||
'gateway-clients'(["kick", Name, ClientId]) ->
|
||||
|
|
|
@ -148,7 +148,7 @@ bind2str(LConf = #{bind := Bind}) when is_binary(Bind) ->
|
|||
bind2str(LConf = #{<<"bind">> := Bind}) when is_binary(Bind) ->
|
||||
LConf.
|
||||
|
||||
-spec listeners(atom_or_bin()) -> map().
|
||||
-spec listeners(atom_or_bin()) -> [map()].
|
||||
listeners(GwName0) ->
|
||||
GwName = bin(GwName0),
|
||||
RawConf = emqx_config:fill_defaults(
|
||||
|
|
Loading…
Reference in New Issue