mirror of
https://github.com/henrygd/beszel.git
synced 2025-12-17 02:36:17 +01:00
move fsStats creation to NewAgent function
This commit is contained in:
@@ -29,6 +29,7 @@ func NewAgent() *Agent {
|
||||
return &Agent{
|
||||
sensorsContext: context.Background(),
|
||||
memCalc: os.Getenv("MEM_CALC"),
|
||||
fsStats: make(map[string]*system.FsStats),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user