Permalink
Browse files

Merge branch 'safe_whereis_name_deprecation'

  • Loading branch information...
2 parents 86d5148 + cf25f51 commit 2675e1f29d69c36bd3d4f0e3e2a21426c520416c @rzezeski rzezeski committed Aug 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/riak_core_gen_server.erl
@@ -956,7 +956,7 @@ get_proc_name({local, Name}) ->
exit(process_not_registered)
end;
get_proc_name({global, Name}) ->
- case global:safe_whereis_name(Name) of
+ case global:whereis_name(Name) of
undefined ->
exit(process_not_registered_globally);
Pid when Pid =:= self() ->
@@ -978,7 +978,7 @@ get_parent() ->
name_to_pid(Name) ->
case whereis(Name) of
undefined ->
- case global:safe_whereis_name(Name) of
+ case global:whereis_name(Name) of
undefined ->
exit(could_not_find_registerd_name);
Pid ->

0 comments on commit 2675e1f

Please sign in to comment.