chore(exhook): fix diaylzer warnings

This commit is contained in:
JianBo He 2021-11-08 11:11:16 +08:00 committed by JianBo He
parent 20ba9d285f
commit 262fb13a71
1 changed files with 0 additions and 2 deletions

View File

@ -269,8 +269,6 @@ message(#message{id = Id, qos = Qos, from = From, topic = Topic,
headers => headers(Headers) headers => headers(Headers)
}. }.
headers(undefined) ->
#{};
headers(Headers) -> headers(Headers) ->
Ls = [username, protocol, peerhost, allow_publish], Ls = [username, protocol, peerhost, allow_publish],
maps:fold( maps:fold(