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

fix hook issue

This commit is contained in:
Peng Wang 2024-03-05 04:13:08 +00:00 committed by k8s-infra-cherrypick-robot
parent b984db0a16
commit 0e5cb851e6

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