Skip to content

Commit

Permalink
Remove extraneous rand.Seed
Browse files Browse the repository at this point in the history
  • Loading branch information
titanous committed Mar 26, 2013
1 parent 141b5fc commit 9518503
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"github.com/dotcloud/docker/rcli"
"io"
"log"
"math/rand"
"net/http"
"net/url"
"runtime"
Expand Down Expand Up @@ -896,7 +895,6 @@ func (srv *Server) CmdRun(stdin io.ReadCloser, stdout io.Writer, args ...string)
}

func NewServer() (*Server, error) {
rand.Seed(time.Now().UTC().UnixNano())
if runtime.GOARCH != "amd64" {
log.Fatalf("The docker runtime currently only supports amd64 (not %s). This will change in the future. Aborting.", runtime.GOARCH)
}
Expand Down

0 comments on commit 9518503

Please sign in to comment.