chore(mgmt): delete assert in emqx_mgmt_cli
This commit is contained in:
parent
0015520a6a
commit
15627643e2
|
@ -698,7 +698,7 @@ indent_print({Key, Val}) ->
|
||||||
listener_identifier(Protocol, ListenOn) ->
|
listener_identifier(Protocol, ListenOn) ->
|
||||||
case emqx_listeners:find_id_by_listen_on(ListenOn) of
|
case emqx_listeners:find_id_by_listen_on(ListenOn) of
|
||||||
false ->
|
false ->
|
||||||
"http" ++ _ = atom_to_list(Protocol); %% assert
|
atom_to_list(Protocol);
|
||||||
ID ->
|
ID ->
|
||||||
ID
|
ID
|
||||||
end.
|
end.
|
||||||
|
|
Loading…
Reference in New Issue