1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-14 20:56:42 +00:00

Merge pull request #302 from marquiz/devel/source-fix

Oneliner fixes to sources
This commit is contained in:
Kubernetes Prow Robot 2020-04-23 05:35:45 -07:00 committed by GitHub
commit 36f6b925a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -91,7 +91,6 @@ func (s Source) Discover() (source.Features, error) {
if cpuidFilter == nil {
initCpuidFilter()
}
log.Printf("CONF: %s", Config)
// Check if hyper-threading seems to be enabled
found, err := haveThreadSiblings()

View file

@ -26,7 +26,7 @@ import (
// Custom Features Configurations
type MatchRule struct {
PciId *rules.PciIdRule `json:"pciId,omitempty""`
PciId *rules.PciIdRule `json:"pciId,omitempty""`
LoadedKMod *rules.LoadedKModRule `json:"loadedKMod,omitempty""`
}