fix: fix badmatch for emqx_os_mon:update_mem_alarm_status/1
This commit is contained in:
parent
55d2e5aee7
commit
11ef46bc1d
|
@ -193,7 +193,8 @@ update_mem_alarm_status(HWM) when HWM > 1.0 orelse HWM < 0.0 ->
|
||||||
);
|
);
|
||||||
update_mem_alarm_status(HWM) ->
|
update_mem_alarm_status(HWM) ->
|
||||||
is_sysmem_check_supported() andalso
|
is_sysmem_check_supported() andalso
|
||||||
do_update_mem_alarm_status(HWM).
|
do_update_mem_alarm_status(HWM),
|
||||||
|
ok.
|
||||||
|
|
||||||
do_update_mem_alarm_status(HWM0) ->
|
do_update_mem_alarm_status(HWM0) ->
|
||||||
HWM = HWM0 * 100,
|
HWM = HWM0 * 100,
|
||||||
|
|
Loading…
Reference in New Issue