mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-13 05:46:16 +00:00
Merge pull request #121551 from pohly/fix-klog-calls
sample device plugin: fix incorrect Errorf invocation
This commit is contained in:
commit
1c0dbe2eef
@ -162,7 +162,7 @@ func main() {
|
|||||||
|
|
||||||
err = watcher.Add(triggerPath)
|
err = watcher.Add(triggerPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
klog.Errorf("Failed to add watch to %q: %w", triggerPath, err)
|
klog.Errorf("Failed to add watch to %q: %v", triggerPath, err)
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
for {
|
for {
|
||||||
|
Loading…
Reference in New Issue
Block a user