Skip to content

Commit c7f28cb

Browse files
committed
WIP
1 parent 6aec657 commit c7f28cb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

deps/rabbit/src/rabbit_khepri.erl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,9 @@ join_cluster(RemoteNode) when RemoteNode =/= node() ->
150150
[ThisNode, RemoteNode, Error],
151151
#{domain => ?RMQLOG_DOMAIN_GLOBAL}),
152152
Error
153-
end.
153+
end;
154+
join_cluster(ThisNode) when ThisNode =:= node() ->
155+
ok.
154156

155157
add_member(NewNode) when NewNode =/= node() ->
156158
?LOG_DEBUG(

0 commit comments

Comments
 (0)