1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/libnetwork/networkdb
Sebastiaan van Stijn 188c5d4a7c
linting: suppress false positive for G404 (gosec)
The linter falsely detects this as using "math/rand":

    libnetwork/networkdb/cluster.go:721:14: G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
       val, err := rand.Int(rand.Reader, big.NewInt(int64(n)))
                   ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 561a010161)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-09-06 15:11:42 +02:00
..
broadcast.go Optimize networkDB queue 2018-07-02 16:59:45 -07:00
cluster.go linting: suppress false positive for G404 (gosec) 2022-09-06 15:11:42 +02:00
delegate.go Optimize networkDB queue 2018-07-02 16:59:45 -07:00
event_delegate.go
message.go
networkdb.go gofmt GoDoc comments with go1.19 2022-07-13 22:42:29 +02:00
networkdb.pb.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
networkdb.proto Spelling fixes 2018-07-12 12:54:44 -07:00
networkdb_test.go Test: wait for network changes in TestNetworkDBNodeJoinLeaveIteration 2022-08-24 01:45:06 +02:00
networkdbdiagnostic.go Fix libnetwork imports 2021-06-01 21:51:23 +00:00
nodemgmt.go
watch.go