mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-14 20:56:42 +00:00
kernel: fix undefined symbol error
Fix a build failure that slipped through when adding support for non-binary kconfig options in #197,
This commit is contained in:
parent
8c666cbdc2
commit
6002a00750
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ func parseKconfig() (map[string]string, error) {
|
|||
} else {
|
||||
value := strings.Trim(m[2], `"`)
|
||||
if len(value) > validation.LabelValueMaxLength {
|
||||
logger.Printf("WARNING: ignoring kconfig option '%s': value exceeds max length of %d characters", m[1], validation.LabelValueMaxLength)
|
||||
log.Printf("WARNING: ignoring kconfig option '%s': value exceeds max length of %d characters", m[1], validation.LabelValueMaxLength)
|
||||
continue
|
||||
}
|
||||
kconfig[m[1]] = value
|
||||
|
|
Loading…
Add table
Reference in a new issue