1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-13 20:30:03 +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:
Markus Lehtonen 2019-06-10 15:25:41 +03:00
parent 8c666cbdc2
commit 6002a00750

View file

@ -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