chore(routing): mark function that is now an RPC target

This commit is contained in:
Andrew Mayorov 2024-03-22 15:14:53 +01:00
parent ba276d807f
commit b81a11b790
No known key found for this signature in database
GPG Key ID: 2837C62ACFBFED5D
1 changed files with 2 additions and 0 deletions

View File

@ -645,6 +645,8 @@ match_to_route(M) ->
-type schemavsn() :: v1 | v2.
%% @doc Get the schema version in use.
%% BPAPI RPC Target @ emqx_router_proto
-spec get_schema_vsn() -> schemavsn().
get_schema_vsn() ->
persistent_term:get(?PT_SCHEMA_VSN).