fix: use emqx_resource macro for status

Thanks for the suggestion @thalesmg

Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
This commit is contained in:
Kjell Winblad 2024-02-01 17:24:25 +01:00 committed by GitHub
parent 016fbd2c5c
commit af3f43ffd5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ on_get_channel_status(
{?status_disconnected, {unhealthy_target, ?UNHEALTHY_TARGET_MSG}};
{error, _Reason} ->
%% do not log error, it is logged in prepare_sql_to_conn
connecting
?status_connecting
end.
on_get_channels(ResId) ->