Преглед изворни кода

fix: use emqx_resource macro for status

Thanks for the suggestion @thalesmg

Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>

Kjell Winblad пре 2 година
родитељ
комит
af3f43ffd5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      apps/emqx_oracle/src/emqx_oracle.erl

+ 1 - 1
apps/emqx_oracle/src/emqx_oracle.erl

@@ -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) ->