Skip to content

Commit 1c0dbe2

Browse files
authored
Merge pull request kubernetes#121551 from pohly/fix-klog-calls
sample device plugin: fix incorrect Errorf invocation
2 parents fd5c406 + af14f97 commit 1c0dbe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/images/sample-device-plugin/sampledeviceplugin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ func main() {
162162

163163
err = watcher.Add(triggerPath)
164164
if err != nil {
165-
klog.Errorf("Failed to add watch to %q: %w", triggerPath, err)
165+
klog.Errorf("Failed to add watch to %q: %v", triggerPath, err)
166166
panic(err)
167167
}
168168
for {

0 commit comments

Comments
 (0)