chore: fix the data type and example value for cluster invitation result

This commit is contained in:
JianBo He 2024-01-30 15:29:46 +08:00
parent aedfc8e8c0
commit 4190682a16
1 changed files with 6 additions and 8 deletions

View File

@ -206,11 +206,10 @@ fields(node_invitation_succeed) ->
[ [
{finished_at, {finished_at,
?HOCON( ?HOCON(
emqx_utils_calendar:epoch_millisecond(), binary(),
#{ #{
desc => desc => <<"The time of the async invitation result is received">>,
<<"The time of the async invitation result is received, millisecond precision epoch">>, example => <<"2024-01-30T15:24:39.355+08:00">>
example => <<"1705044829915">>
} }
)} )}
]; ];
@ -223,11 +222,10 @@ fields(node_invitation_in_progress) ->
)}, )},
{started_at, {started_at,
?HOCON( ?HOCON(
emqx_utils_calendar:epoch_millisecond(), binary(),
#{ #{
desc => desc => <<"The time of the async invitation is started">>,
<<"The start timestamp of the invitation, millisecond precision epoch">>, example => <<"2024-01-30T15:24:39.355+08:00">>
example => <<"1705044829915">>
} }
)} )}
]. ].