Skip to content

Commit

Permalink
Mark safe usages of to_atom as such
Browse files Browse the repository at this point in the history
Summary: As per title.

Differential Revision: D56935197

fbshipit-source-id: 7084b9c158b22c506925e59bec431478dcef4aa2
  • Loading branch information
robertoaloi authored and facebook-github-bot committed May 3, 2024
1 parent 096a068 commit 15a738a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wa_raft_log_catchup.erl
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ is_catching_up(Catchup, Peer) ->
%% provided RAFT partition.
-spec default_name(Table :: wa_raft:table(), Partition :: wa_raft:partition()) -> Name :: atom().
default_name(Table, Partition) ->
% elp:ignore W0023 (atoms_exhaustion) - Limit set of inputs
list_to_atom("raft_log_catchup_" ++ atom_to_list(Table) ++ "_" ++ integer_to_list(Partition)).

%% Get the registered name for the RAFT log catchup server associated with the
Expand Down

0 comments on commit 15a738a

Please sign in to comment.