pull/201/head
开发者小蓝 5 years ago committed by GitHub
parent d5d510f7d6
commit a5cdf8ffc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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)

Loading…
Cancel
Save