diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2021-07-08 05:00:58 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2021-07-08 08:19:06 +0300 |
commit | 15645988b383de8adcca24c49357b347843e994c (patch) | |
tree | 932da45947989231ba07a99c507a2c13c13af55d /main.go | |
parent | c81339af0bd218ccb956f53d0f7bbabef835a5a4 (diff) |
Update test mocks
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -7,6 +7,7 @@ import ( "os" "time" + "github.com/sirupsen/logrus" "gitlab.com/gitlab-org/labkit/errortracking" "gitlab.com/gitlab-org/labkit/log" @@ -185,6 +186,8 @@ func printVersion(showVersion bool, version string) { } func main() { + logrus.SetOutput(os.Stderr) + rand.Seed(time.Now().UnixNano()) metrics.MustRegister() |