From c0dfa0e845b3571550e84bdebb411b119086b4aa Mon Sep 17 00:00:00 2001 From: Jing Chen Date: Sat, 23 Oct 2021 15:38:28 -0700 Subject: initialize hostFeatureSet from init function --- pkg/cpuid/cpuid_x86.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/cpuid/cpuid_x86.go') diff --git a/pkg/cpuid/cpuid_x86.go b/pkg/cpuid/cpuid_x86.go index a92d32d74..8cbcc9f61 100644 --- a/pkg/cpuid/cpuid_x86.go +++ b/pkg/cpuid/cpuid_x86.go @@ -1109,4 +1109,5 @@ func initFeaturesFromString() { func init() { initCPUFreq() initFeaturesFromString() + hostFeatureSet = getHostFeatureSet() } -- cgit v1.2.3