Skip to content

Commit 5d6f3cc

Browse files
authored
Merge pull request #1604 from wpeng102/hook
fix hook issue
2 parents decaafe + 12ee13d commit 5d6f3cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/local/local.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ func (s *localSource) Discover() error {
164164
if old, ok := labelsFromFiles[k]; ok {
165165
klog.InfoS("overriding label value", "labelKey", k, "oldValue", old, "newValue", v)
166166
}
167-
labelsFromHooks[k] = v
167+
labelsFromFiles[k] = v
168168
}
169169
}
170170

0 commit comments

Comments
 (0)