1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-15 17:50:49 +00:00

Merge pull request #258 from marquiz/feature/fixes

kernel: fix undefined symbol error
This commit is contained in:
Kubernetes Prow Robot 2019-06-10 09:33:07 -07:00 committed by GitHub
commit a5d40648c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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