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

Merge pull request from wpeng102/hook

fix hook issue
This commit is contained in:
Kubernetes Prow Robot 2024-03-08 08:33:08 -08:00 committed by GitHub
commit 5d6f3ccec8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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