1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-04-24 21:27:12 +00:00

fix hook issue

This commit is contained in:
Peng Wang 2024-03-05 04:13:08 +00:00
parent 890a029085
commit 12ee13dabb

View file

@ -164,7 +164,7 @@ func (s *localSource) Discover() error {
if old, ok := labelsFromFiles[k]; ok {
klog.InfoS("overriding label value", "labelKey", k, "oldValue", old, "newValue", v)
}
labelsFromHooks[k] = v
labelsFromFiles[k] = v
}
}