mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 20:58:14 -05:00
commit
aacae54eeb
@ -66,9 +66,7 @@ func GetHost(agentConfig *model.AgentConfig) *model.Host {
|
|||||||
swapMemTotal = mv.SwapTotal
|
swapMemTotal = mv.SwapTotal
|
||||||
}
|
}
|
||||||
|
|
||||||
if cachedBootTime.IsZero() {
|
|
||||||
cachedBootTime = time.Unix(int64(hi.BootTime), 0)
|
cachedBootTime = time.Unix(int64(hi.BootTime), 0)
|
||||||
}
|
|
||||||
|
|
||||||
return &model.Host{
|
return &model.Host{
|
||||||
Platform: hi.Platform,
|
Platform: hi.Platform,
|
||||||
|
Loading…
Reference in New Issue
Block a user