mirror of
https://github.com/henrygd/beszel.git
synced 2026-08-12 13:27:46 +02:00
fix(hub): refresh system details on agent reconnect ssh (#2086)
This commit is contained in:
@@ -388,6 +388,7 @@ func (sys *System) setDown(originalError error) error {
|
||||
if originalError != nil {
|
||||
sys.manager.hub.Logger().Error("System down", "system", record.GetString("name"), "err", originalError)
|
||||
}
|
||||
sys.detailsFetched.Store(false)
|
||||
record.Set("status", down)
|
||||
return sys.manager.hub.SaveNoValidate(record)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user