chore: fix typos
This commit is contained in:
parent
4f341bef8b
commit
bb3c66638c
|
@ -67,7 +67,7 @@
|
||||||
-type t() :: #inflight{}.
|
-type t() :: #inflight{}.
|
||||||
|
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
%% API funcions
|
%% API functions
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
|
|
||||||
-spec new(non_neg_integer()) -> t().
|
-spec new(non_neg_integer()) -> t().
|
||||||
|
|
|
@ -192,7 +192,7 @@
|
||||||
-endif.
|
-endif.
|
||||||
|
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
%% API funcions
|
%% API functions
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
|
|
||||||
-spec create_tables() -> ok.
|
-spec create_tables() -> ok.
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
-define(LOADER, emqx_secret_loader).
|
-define(LOADER, emqx_secret_loader).
|
||||||
|
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
%% API funcions
|
%% API functions
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
|
|
||||||
%% @doc Wrap a term in a secret closure.
|
%% @doc Wrap a term in a secret closure.
|
||||||
|
|
|
@ -33,7 +33,7 @@ introduced_in() ->
|
||||||
"5.0.8".
|
"5.0.8".
|
||||||
|
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
%% API funcions
|
%% API functions
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
|
|
||||||
-spec send(node(), pid(), emqx_types:topic(), term()) -> true.
|
-spec send(node(), pid(), emqx_types:topic(), term()) -> true.
|
||||||
|
|
|
@ -244,7 +244,7 @@
|
||||||
]).
|
]).
|
||||||
|
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
%% API funcions
|
%% API functions
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
|
|
||||||
-spec base_dir() -> file:filename().
|
-spec base_dir() -> file:filename().
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
-record(?shard_sup, {db, shard}).
|
-record(?shard_sup, {db, shard}).
|
||||||
|
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
%% API funcions
|
%% API functions
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
|
|
||||||
-spec start_db(emqx_ds:db(), emqx_ds_replication_layer:builtin_db_opts()) -> {ok, pid()}.
|
-spec start_db(emqx_ds:db(), emqx_ds_replication_layer:builtin_db_opts()) -> {ok, pid()}.
|
||||||
|
|
|
@ -91,7 +91,7 @@
|
||||||
}).
|
}).
|
||||||
|
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
%% API funcions
|
%% API functions
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
|
|
||||||
%% @doc Create an empty trie
|
%% @doc Create an empty trie
|
||||||
|
|
|
@ -159,7 +159,7 @@
|
||||||
).
|
).
|
||||||
|
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
%% API funcions
|
%% API functions
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
|
|
||||||
-spec print_status() -> ok.
|
-spec print_status() -> ok.
|
||||||
|
|
|
@ -168,7 +168,7 @@
|
||||||
-endif.
|
-endif.
|
||||||
|
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
%% API funcions
|
%% API functions
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
|
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
|
|
|
@ -81,7 +81,7 @@
|
||||||
}).
|
}).
|
||||||
|
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
%% API funcions
|
%% API functions
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
|
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
-define(SUP, ?MODULE).
|
-define(SUP, ?MODULE).
|
||||||
|
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
%% API funcions
|
%% API functions
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
|
|
||||||
-spec start_link() -> {ok, pid()}.
|
-spec start_link() -> {ok, pid()}.
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
-export([introduced_in/0, deprecated_since/0]).
|
-export([introduced_in/0, deprecated_since/0]).
|
||||||
|
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
%% API funcions
|
%% API functions
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
|
|
||||||
-spec drop_db([node()], emqx_ds:db()) -> [emqx_rpc:erpc(ok)].
|
-spec drop_db([node()], emqx_ds:db()) -> [emqx_rpc:erpc(ok)].
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
-export([introduced_in/0, deprecated_since/0]).
|
-export([introduced_in/0, deprecated_since/0]).
|
||||||
|
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
%% API funcions
|
%% API functions
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
|
|
||||||
-spec drop_db([node()], emqx_ds:db()) ->
|
-spec drop_db([node()], emqx_ds:db()) ->
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
-export([introduced_in/0, deprecated_since/0]).
|
-export([introduced_in/0, deprecated_since/0]).
|
||||||
|
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
%% API funcions
|
%% API functions
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
|
|
||||||
-spec drop_db([node()], emqx_ds:db()) ->
|
-spec drop_db([node()], emqx_ds:db()) ->
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
-export([introduced_in/0]).
|
-export([introduced_in/0]).
|
||||||
|
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
%% API funcions
|
%% API functions
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
|
|
||||||
-spec drop_db([node()], emqx_ds:db()) ->
|
-spec drop_db([node()], emqx_ds:db()) ->
|
||||||
|
|
|
@ -853,7 +853,7 @@ case19_serialize_ctrl(_Config) ->
|
||||||
5, 51, 2>> = Body,
|
5, 51, 2>> = Body,
|
||||||
Crc = make_crc(Body, undefined),
|
Crc = make_crc(Body, undefined),
|
||||||
|
|
||||||
DataUnit1 = <<"The alarm has occured!">>,
|
DataUnit1 = <<"The alarm has occurred!">>,
|
||||||
Frame1 = #frame{
|
Frame1 = #frame{
|
||||||
cmd = ?CMD_TERMINAL_CTRL,
|
cmd = ?CMD_TERMINAL_CTRL,
|
||||||
ack = ?ACK_IS_CMD,
|
ack = ?ACK_IS_CMD,
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
-export([cmd/1]).
|
-export([cmd/1]).
|
||||||
|
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
%% API funcions
|
%% API functions
|
||||||
%%================================================================================
|
%%================================================================================
|
||||||
|
|
||||||
load() ->
|
load() ->
|
||||||
|
|
Loading…
Reference in New Issue