chore(emqx_exproto): fix dialyzer warinings on default_conninfo
This commit is contained in:
parent
fb8133b998
commit
02a755fbea
|
@ -565,15 +565,14 @@ enrich_clientinfo(InClientInfo = #{proto_name := ProtoName}, ClientInfo) ->
|
||||||
NClientInfo#{protocol => ProtoName}.
|
NClientInfo#{protocol => ProtoName}.
|
||||||
|
|
||||||
default_conninfo(ConnInfo) ->
|
default_conninfo(ConnInfo) ->
|
||||||
ConnInfo#{proto_name => undefined,
|
ConnInfo#{clean_start => true,
|
||||||
proto_ver => undefined,
|
|
||||||
clean_start => true,
|
|
||||||
clientid => undefined,
|
clientid => undefined,
|
||||||
username => undefined,
|
username => undefined,
|
||||||
conn_props => [],
|
conn_mod => undefined,
|
||||||
|
conn_props => #{},
|
||||||
connected => true,
|
connected => true,
|
||||||
connected_at => erlang:system_time(millisecond),
|
connected_at => erlang:system_time(millisecond),
|
||||||
keepalive => undefined,
|
keepalive => 0,
|
||||||
receive_maximum => 0,
|
receive_maximum => 0,
|
||||||
expiry_interval => 0}.
|
expiry_interval => 0}.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue