1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/namesgenerator
Ahmet Alp Balkan 25fab69f7d names-generator: use local random instance
Instead of seeding/polluting the global random instance,
creating a local `rand.Random` instance which provides the same
level of randomness.

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2015-04-14 02:35:16 +00:00
..
names-generator.go names-generator: use local random instance 2015-04-14 02:35:16 +00:00
names-generator_test.go Improve name generation on concurrent requests 2014-05-23 17:51:16 -07:00