From 09958d9a33ce2ad8a320a45ea0ad6fe53acf32e8 Mon Sep 17 00:00:00 2001 From: JianBo He Date: Wed, 16 Nov 2022 20:46:41 +0800 Subject: [PATCH] chore: fix diaylzer warnings --- apps/emqx_management/src/emqx_mgmt_api.erl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/emqx_management/src/emqx_mgmt_api.erl b/apps/emqx_management/src/emqx_mgmt_api.erl index da5a75c62..bbac80c1d 100644 --- a/apps/emqx_management/src/emqx_mgmt_api.erl +++ b/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()}).