Skip to content

Commit

Permalink
Fix comments after the review
Browse files Browse the repository at this point in the history
  • Loading branch information
arcusfelis committed Mar 8, 2024
1 parent 43f5298 commit b14d8b8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/cets_dist_blocker.erl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
%% This module prevents a node from reconnecting, until cleaning activity is
%% finished. It prevents race conditions.
%%
%% This module assume all nodes share the same cookie.
%% This module assumes all nodes share the same cookie.
-module(cets_dist_blocker).
-behaviour(gen_server).
-include_lib("kernel/include/logger.hrl").
Expand Down Expand Up @@ -50,7 +50,8 @@ add_cleaner(CleanerPid) ->

%% @doc Confirm that cleaning is done.
%%
%% This function is called by a cleaner after it receives nodedown.
%% This function should be called by a cleaner when it receives
%% nodedown and finishes cleaning.
-spec cleaning_done(pid(), node()) -> ok.
cleaning_done(CleanerPid, Node) ->
gen_server:call(?MODULE, {cleaning_done, CleanerPid, Node}).
Expand Down

0 comments on commit b14d8b8

Please sign in to comment.