Init static info in proper place

This commit is contained in:
Zoltán Papp
2025-09-04 16:44:58 +02:00
parent 4a45e40578
commit 6efc1a61fe

View File

@@ -89,6 +89,7 @@ func initStaticInfo() {
// GetInfo retrieves system information (static info cached, dynamic info fresh)
func GetInfo(ctx context.Context) *Info {
initStaticInfo()
log.Debugf("gathering dynamic system information")
start := time.Now()