Przeglądaj źródła

Merge pull request #7429 from JimMoen/fix-authn-redis-api

fix authn redis api and eredis_cluster version
JimMoen 3 lat temu
rodzic
commit
e9ce91b60c

+ 1 - 1
apps/emqx_authn/src/emqx_authn_api.erl

@@ -1095,7 +1095,7 @@ serialize_error({invalid_parameter, Name}) ->
             message => binfmt("Invalid value for '~p'", [Name])}};
 serialize_error({unknown_authn_type, Type}) ->
     {400, #{code => <<"BAD_REQUEST">>,
-            message => binfmt("Unknown type '~ts'", [Type])}};
+            message => binfmt("Unknown type '~p'", [Type])}};
 serialize_error({bad_authenticator_config, Reason}) ->
     {400, #{code => <<"BAD_REQUEST">>,
             message => binfmt("Bad authenticator config ~p", [Reason])}};

+ 1 - 1
apps/emqx_connector/rebar.config

@@ -13,7 +13,7 @@
   %% NOTE: mind poolboy version when updating mongodb-erlang version
   {mongodb, {git,"https://github.com/emqx/mongodb-erlang", {tag, "v3.0.12"}}},
   %% NOTE: mind poolboy version when updating eredis_cluster version
-  {eredis_cluster, {git, "https://github.com/emqx/eredis_cluster", {tag, "0.7.0"}}},
+  {eredis_cluster, {git, "https://github.com/emqx/eredis_cluster", {tag, "0.7.1"}}},
   %% mongodb-erlang uses a special fork https://github.com/comtihon/poolboy.git
   %% (which has overflow_ttl feature added).
   %% However, it references `{branch, "master}` (commit 9c06a9a on 2021-04-07).