Bläddra i källkod

chore(mongodb): update client

Ilya Averyanov 4 år sedan
förälder
incheckning
c98e0efdad

+ 1 - 1
apps/emqx_connector/rebar.config

@@ -8,7 +8,7 @@
   {mysql, {git, "https://github.com/emqx/mysql-otp", {tag, "1.7.1"}}},
   {epgsql, {git, "https://github.com/emqx/epgsql", {tag, "4.6.0"}}},
   %% NOTE: mind poolboy version when updating mongodb-erlang version
-  {mongodb, {git,"https://github.com/emqx/mongodb-erlang", {tag, "v3.0.10"}}},
+  {mongodb, {git,"https://github.com/emqx/mongodb-erlang", {tag, "v3.0.11"}}},
   %% NOTE: mind poolboy version when updating eredis_cluster version
   {eredis_cluster, {git, "https://github.com/emqx/eredis_cluster", {tag, "0.6.7"}}},
   %% mongodb-erlang uses a special fork https://github.com/comtihon/poolboy.git

+ 0 - 3
apps/emqx_connector/src/emqx_connector_mongo.erl

@@ -178,9 +178,6 @@ health_check(PoolName) ->
 
 %% ===================================================================
 
-%% mongo_api:find_one/4 typing is invalid
--dialyzer({nowarn_function, [check_worker_health/1]}).
-
 check_worker_health(Worker) -> 
     case ecpool_worker:client(Worker) of
         {ok, Conn} ->