mirror of
https://github.com/fankes/beszel.git
synced 2025-10-20 10:19:27 +08:00
Adds a version listing in the hub for each agent.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package agent
|
||||
|
||||
import (
|
||||
"beszel"
|
||||
"beszel/internal/entities/container"
|
||||
"beszel/internal/entities/system"
|
||||
"bytes"
|
||||
@@ -143,6 +144,7 @@ func (a *Agent) getSystemStats() (*system.Info, *system.Stats) {
|
||||
Cpu: systemStats.Cpu,
|
||||
MemPct: systemStats.MemPct,
|
||||
DiskPct: systemStats.DiskPct,
|
||||
Vers: beszel.Version,
|
||||
}
|
||||
|
||||
// add host info
|
||||
|
Reference in New Issue
Block a user