fix: 编辑器出问题了

pull/201/head
开发者小蓝 6 years ago committed by GitHub
parent a5cdf8ffc7
commit f0ee75eb37
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(int(time.Now().UnixNano()))
Hostname = strconv.Itoa(int(time.Now().UnixNano()))
}
}
addFlag(flag.CommandLine)

Loading…
Cancel
Save