diff --git a/pkg/conf/env/env.go b/pkg/conf/env/env.go index aea995ab9..a5c50441b 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(time.Now().UnixNano()) + Hostname = Hostname = strconv.Itoa(int(time.Now().UnixNano())) } } addFlag(flag.CommandLine)