mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-04 08:06:37 +00:00
Init static info in proper place
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user