fix: fix badmatch for emqx_os_mon:update_mem_alarm_status/1

This commit is contained in:
JianBo He 2022-05-31 20:46:48 +08:00
parent 55d2e5aee7
commit 11ef46bc1d
1 changed files with 2 additions and 1 deletions

View File

@ -193,7 +193,8 @@ update_mem_alarm_status(HWM) when HWM > 1.0 orelse HWM < 0.0 ->
);
update_mem_alarm_status(HWM) ->
is_sysmem_check_supported() andalso
do_update_mem_alarm_status(HWM).
do_update_mem_alarm_status(HWM),
ok.
do_update_mem_alarm_status(HWM0) ->
HWM = HWM0 * 100,