diff --git a/pkg/conf/env/env.go b/pkg/conf/env/env.go index a5c50441b..438cb12c1 100644 --- a/pkg/conf/env/env.go +++ b/pkg/conf/env/env.go @@ -49,7 +49,7 @@ func init() { if Hostname == "" { Hostname, err = os.Hostname() if err != nil { - Hostname = Hostname = strconv.Itoa(int(time.Now().UnixNano())) + Hostname = strconv.Itoa(int(time.Now().UnixNano())) } } addFlag(flag.CommandLine)