Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replaced erlang's random library with the new rand #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

replaced erlang's random library with the new rand #22

wants to merge 1 commit into from

Conversation

ifoo
Copy link

@ifoo ifoo commented Jan 31, 2017

Compiling on Erlang/OTP 19 yield the following deprecation warnings:

===> Compiling rabbit_common
./deps/rabbit_common/src/gen_server2.erl:770: Warning: random:uniform_s/2: the 'random' module is deprecated; use the 'rand' module instead
src/gen_server2.erl:770: Warning: random:uniform_s/2: the 'random' module is deprecated; use the 'rand' module instead

./deps/rabbit_common/src/rabbit_misc.erl:1169: Warning: random:seed/3: the 'random' module is deprecated; use the 'rand' module instead
./deps/rabbit_common/src/rabbit_misc.erl:1174: Warning: random:uniform/1: the 'random' module is deprecated; use the 'rand' module instead
src/rabbit_misc.erl:1169: Warning: random:seed/3: the 'random' module is deprecated; use the 'rand' module instead
src/rabbit_misc.erl:1174: Warning: random:uniform/1: the 'random' module is deprecated; use the 'rand' module instead

The pull request replaces the deprecated random module with the new rand module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants