mirror of
https://github.com/henrygd/beszel.git
synced 2025-12-17 02:36:17 +01:00
display agent connection type in hub (ssh, websocket)
This commit is contained in:
@@ -212,6 +212,7 @@ func (a *Agent) getSystemStats() system.Stats {
|
||||
}
|
||||
|
||||
// update base system info
|
||||
a.systemInfo.ConnectionType = a.connectionManager.ConnectionType
|
||||
a.systemInfo.Cpu = systemStats.Cpu
|
||||
a.systemInfo.LoadAvg = systemStats.LoadAvg
|
||||
// TODO: remove these in future release in favor of load avg array
|
||||
|
||||
Reference in New Issue
Block a user