We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 697cd3b commit 5dc0ddbCopy full SHA for 5dc0ddb
main.go
@@ -6,9 +6,7 @@ package main
6
7
import (
8
"fmt"
9
- "math/rand"
10
"os"
11
- "time"
12
13
"github.com/elastic/elastic-agent/internal/pkg/agent/cmd"
14
"github.com/elastic/elastic-agent/pkg/core/process"
@@ -36,7 +34,6 @@ func main() {
36
34
}
37
35
defer pj.Close()
38
39
- rand.Seed(time.Now().UnixNano())
40
command := cmd.NewCommand()
41
err = command.Execute()
42
if err != nil {
testing/integration/install_test.go
@@ -334,7 +334,6 @@ func TestRepeatedInstallUninstall(t *testing.T) {
334
335
336
func randStr(length int) string {
337
338
var letters = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
339
340
runes := make([]rune, length)
0 commit comments