aboutsummaryrefslogtreecommitdiff
path: root/plugin/file/notify.go
diff options
context:
space:
mode:
authorGravatar Yong Tang <yong.tang.github@outlook.com> 2022-03-16 09:24:58 -0700
committerGravatar GitHub <noreply@github.com> 2022-03-16 12:24:58 -0400
commitaa7818e1d342ffbed3588f6bdece621b119debec (patch)
treed718b6040cfb0f64562fcf8c818598c7ac29e689 /plugin/file/notify.go
parentc3b30cc3ef57393a7f4cab1bf3b6c4124e72a36e (diff)
downloadcoredns-aa7818e1d342ffbed3588f6bdece621b119debec.tar.gz
coredns-aa7818e1d342ffbed3588f6bdece621b119debec.tar.zst
coredns-aa7818e1d342ffbed3588f6bdece621b119debec.zip
Update to avoid pseudo-random number (#5225)
* Update to avoid pseudo-random number This PR update the usage of rand so that non-global seed is used. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Add concurrency-safe random source See https://stackoverflow.com/questions/48958886/how-to-create-a-thread-safe-rand-source Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Diffstat (limited to 'plugin/file/notify.go')
0 files changed, 0 insertions, 0 deletions