Merge pull request #8855 from thalesmg/fix-dialyzer-v44-a
chore: fix dialyzer errors (v4.4)
This commit is contained in:
commit
1ba606f57a
|
@ -56,12 +56,7 @@ jobs:
|
||||||
- name: make xref
|
- name: make xref
|
||||||
run: make xref
|
run: make xref
|
||||||
- name: make dialyzer
|
- name: make dialyzer
|
||||||
run: |
|
run: make dialyzer
|
||||||
# TODO: once dialyzer warnings are fixed in 4.4+, we may
|
|
||||||
# enforce this.
|
|
||||||
if [[ "$(./pkg-vsn.sh)" =~ 4.3.* ]]; then
|
|
||||||
make dialyzer
|
|
||||||
fi
|
|
||||||
- name: build zip packages
|
- name: build zip packages
|
||||||
run: make ${EMQX_NAME}-zip
|
run: make ${EMQX_NAME}-zip
|
||||||
- name: build deb/rpm packages
|
- name: build deb/rpm packages
|
||||||
|
|
|
@ -121,8 +121,8 @@ loop_publish([Params | ParamsN], Acc) ->
|
||||||
try parse_publish_params(Params) of
|
try parse_publish_params(Params) of
|
||||||
Res ->
|
Res ->
|
||||||
Code = case do_publish(Params, Res) of
|
Code = case do_publish(Params, Res) of
|
||||||
{ok, _} -> 0;
|
{ok, #{code := ?SUCCESS}} -> 0;
|
||||||
{_, Code0, _} -> Code0
|
{ok, #{code := Code0}} -> Code0
|
||||||
end,
|
end,
|
||||||
#{topic => resp_topic(proplists:get_value(<<"topic">>, Params),
|
#{topic => resp_topic(proplists:get_value(<<"topic">>, Params),
|
||||||
proplists:get_value(<<"topics">>, Params, <<"">>)),
|
proplists:get_value(<<"topics">>, Params, <<"">>)),
|
||||||
|
|
Loading…
Reference in New Issue