fix: don't show quic in dashboard
This commit is contained in:
parent
908019fff3
commit
11a404842e
|
@ -86,7 +86,7 @@ roots() -> [limiter].
|
||||||
fields(limiter) ->
|
fields(limiter) ->
|
||||||
[
|
[
|
||||||
{bytes_in, sc(ref(limiter_opts), #{desc => ?DESC(bytes_in)})},
|
{bytes_in, sc(ref(limiter_opts), #{desc => ?DESC(bytes_in)})},
|
||||||
{message_in, sc(ref(limiter_opts), #{description => ?DESC(message_in)})},
|
{message_in, sc(ref(limiter_opts), #{desc => ?DESC(message_in)})},
|
||||||
{connection, sc(ref(limiter_opts), #{desc => ?DESC(connection)})},
|
{connection, sc(ref(limiter_opts), #{desc => ?DESC(connection)})},
|
||||||
{message_routing, sc(ref(limiter_opts), #{desc => ?DESC(message_routing)})},
|
{message_routing, sc(ref(limiter_opts), #{desc => ?DESC(message_routing)})},
|
||||||
{batch, sc(ref(limiter_opts), #{desc => ?DESC(batch)})}
|
{batch, sc(ref(limiter_opts), #{desc => ?DESC(batch)})}
|
||||||
|
|
|
@ -63,7 +63,12 @@ id_example() -> 'tcp:default'.
|
||||||
%% @doc List configured listeners.
|
%% @doc List configured listeners.
|
||||||
-spec list_raw() -> [{ListenerId :: atom(), Type :: binary(), ListenerConf :: map()}].
|
-spec list_raw() -> [{ListenerId :: atom(), Type :: binary(), ListenerConf :: map()}].
|
||||||
list_raw() ->
|
list_raw() ->
|
||||||
[{listener_id(Type, LName), Type, LConf} || {Type, LName, LConf} <- do_list_raw()].
|
[
|
||||||
|
{listener_id(Type, LName), Type, LConf}
|
||||||
|
|| %% FIXME: quic is not supported update vi dashboard yet
|
||||||
|
{Type, LName, LConf} <- do_list_raw(),
|
||||||
|
Type =/= <<"quic">>
|
||||||
|
].
|
||||||
|
|
||||||
list() ->
|
list() ->
|
||||||
Listeners = maps:to_list(emqx:get_config([listeners], #{})),
|
Listeners = maps:to_list(emqx:get_config([listeners], #{})),
|
||||||
|
|
Loading…
Reference in New Issue