Skip to content

Commit 3edb411

Browse files
committed
add ok return type
Signed-off-by: Alejandro M. Ramallo <[email protected]>
1 parent c232345 commit 3edb411

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# CHANGELOG
22
# v5.0.0-rc.14
3+
## Changes
4+
* Add `ok` as valid return for `exchange` callback in `partisan_plumbtree_broadcast_handler`.
5+
# v5.0.0-rc.14
36
## Fixes
47
* Fixes the case where `partisan_plumbtree_broadcast` behaviour implementors' callbacks throw an exception which would crash the broadcast server.
58
* Replace use of RPC in `partisan_plumbtree_broadcast` and use

src/partisan.app.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{description,
33
"Partisan is a scalable and flexible, TCP-based membership system and distribution layer for the BEAM."
44
},
5-
{vsn, "5.0.0-rc.14"},
5+
{vsn, "5.0.0-rc.15"},
66
{registered, []},
77
{applications, [
88
kernel,

src/partisan_plumtree_broadcast_handler.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
%% The exchange does not need to account for messages in-flight when it is
7373
%% started or broadcast during its operation. These can be taken care of in
7474
%% future exchanges.
75-
-callback exchange(node()) -> {ok, pid()} | {error, term()} | ignore.
75+
-callback exchange(node()) -> ok | {ok, pid()} | {error, term()} | ignore.
7676

7777

7878
-optional_callbacks([broadcast_channel/0]).

0 commit comments

Comments
 (0)