Merge pull request #121551 from pohly/fix-klog-calls

sample device plugin: fix incorrect Errorf invocation
This commit is contained in:
Kubernetes Prow Robot 2023-10-27 13:40:47 +02:00 committed by GitHub
commit 1c0dbe2eef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -162,7 +162,7 @@ func main() {
err = watcher.Add(triggerPath)
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)
}
for {