Fix spec for book_hotbackup/1
Returned function requires a backup path
This commit is contained in:
parent
82cc76c8c6
commit
8c4de27789
1 changed files with 1 additions and 1 deletions
|
@ -1120,7 +1120,7 @@ book_destroy(Pid) ->
|
||||||
gen_server:call(Pid, destroy, infinity).
|
gen_server:call(Pid, destroy, infinity).
|
||||||
|
|
||||||
|
|
||||||
-spec book_hotbackup(pid()) -> {async, fun(() -> ok)}.
|
-spec book_hotbackup(pid()) -> {async, fun((string()) -> ok)}.
|
||||||
%% @doc Backup the Bookie
|
%% @doc Backup the Bookie
|
||||||
%% Return a function that will take a backup of a snapshot of the Journal.
|
%% Return a function that will take a backup of a snapshot of the Journal.
|
||||||
%% The function will be 1-arity, and can be passed the absolute folder name
|
%% The function will be 1-arity, and can be passed the absolute folder name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue