mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 04:30:05 +00:00
@@ -66,9 +66,7 @@ func GetHost(agentConfig *model.AgentConfig) *model.Host {
|
||||
swapMemTotal = mv.SwapTotal
|
||||
}
|
||||
|
||||
if cachedBootTime.IsZero() {
|
||||
cachedBootTime = time.Unix(int64(hi.BootTime), 0)
|
||||
}
|
||||
cachedBootTime = time.Unix(int64(hi.BootTime), 0)
|
||||
|
||||
return &model.Host{
|
||||
Platform: hi.Platform,
|
||||
|
||||
Reference in New Issue
Block a user