net: fix probabilities in DNS SRV shuffleByWeight
Patch from msolo. Just moving it to a CL. The test fails before and passes with the fix. Fixes #7098 LGTM=msolo, rsc R=rsc, iant, msolo CC=golang-codereviews https://golang.org/cl/88900044
Showing
Please
register
or
sign in
to comment