Unreviewed changes
1 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: devapp/devapp.go
Insertions: 0, Deletions: 3.
@@ -10,10 +10,8 @@
"context"
"flag"
"log"
- "math/rand"
"net/http"
"os"
- "time"
"golang.org/x/build/internal/https"
)
@@ -34,7 +32,6 @@
func main() {
https.RegisterFlags(flag.CommandLine)
flag.Parse()
- rand.Seed(time.Now().UnixNano())
s := newServer(http.NewServeMux(), *staticDir, *templateDir, *reload)
ctx := context.Background()
```
```
The name of the file: internal/cloud/fake_aws.go
Insertions: 0, Deletions: 2.
@@ -16,8 +16,6 @@
"github.com/aws/aws-sdk-go/service/ec2"
)
-func init() { mrand.Seed(time.Now().UnixNano()) }
-
// FakeAWSClient provides a fake AWS Client used to test the AWS client
// functionality.
type FakeAWSClient struct {
```
Change information
Commit message:
cmd/relui, devapp: remove rand.Seed call
It's not needed as of Go 1.20, the generator
is seeded randomly at program startup anyway.
Change-Id: Ic1f5cd84df333a73c8bd39be70f88df03c690e81
Files:
- M cmd/relui/main.go
- M devapp/devapp.go
- M internal/cloud/fake_aws.go
Change size: XS
Delta: 3 files changed, 0 insertions(+), 8 deletions(-)
Branch: refs/heads/master
Submit Requirements:
- Code-Review: +2 by Ian Lance Taylor, +1 by Dmitri Shuralyov
- TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI