mirror of
https://github.com/fankes/beszel.git
synced 2025-10-20 02:09:28 +08: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