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

chore: fix diaylzer warnings

JianBo He пре 3 година
родитељ
комит
09958d9a33
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      apps/emqx_management/src/emqx_mgmt_api.erl

+ 3 - 1
apps/emqx_management/src/emqx_mgmt_api.erl

@@ -122,7 +122,9 @@ limit(Params) ->
 
 -type query_params() :: list() | map().
 
--type query_schema() :: [{Key :: binary(), Type :: atom | integer | timestamp | ip | ip_port}].
+-type query_schema() :: [
+    {Key :: binary(), Type :: atom | binary | integer | timestamp | ip | ip_port}
+].
 
 -type query_to_match_spec_fun() ::
     fun((list(), list()) -> {ets:match_spec(), fun()}).