mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-10 00:29:01 +02:00
fix: 编辑器出问题了
This commit is contained in:
parent
a5cdf8ffc7
commit
f0ee75eb37
2
pkg/conf/env/env.go
vendored
2
pkg/conf/env/env.go
vendored
@ -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…
Reference in New Issue
Block a user