Skip to content

Commit

Permalink
Replace wanna with want to
Browse files Browse the repository at this point in the history
  • Loading branch information
arcusfelis committed Aug 31, 2023
1 parent 2823629 commit 690be9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cets_discovery.erl
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ try_joining(State = #{join_status := not_running, nodes := Nodes, tables := Tabl
AvailableNodes = nodes(),
spawn_link(fun() ->
%% We only care about connected nodes here
%% We do not wanna try to connect here - we do it in ping_not_connected_nodes/1
%% We do not want to try to connect here - we do it in ping_not_connected_nodes/1
Results = [
do_join(Tab, Node)
|| Node <- Nodes, lists:member(Node, AvailableNodes), Tab <- Tables
Expand Down
2 changes: 1 addition & 1 deletion test/cets_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ insert_new_is_retried_when_leader_is_reelected(Config) ->

%% We could retry automatically, but in this case return value from insert_new
%% could be incorrect.
%% If you wanna make insert_new more robust:
%% If you want to make insert_new more robust:
%% - handle cets_down exception
%% - call insert_new one more time
%% - read the data back using ets:lookup to ensure it is your record written
Expand Down

0 comments on commit 690be9d

Please sign in to comment.