Skip to content

Commit 13bf655

Browse files
authored
Merge pull request #1897 from mattcary/toolpath
Use correct path in error message for udev tooling
2 parents 96338ca + 0f74882 commit 13bf655

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/deviceutils/device-utils.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ func ensureUdevToolExists(toolPath string) error {
194194
if !exists {
195195
// The driver should be containerized with the tool so maybe something is
196196
// wrong with the build process
197-
return fmt.Errorf("could not find tool at %q, unable to verify device paths", nvmeIdPath)
197+
return fmt.Errorf("could not find tool at %q, unable to verify device paths", toolPath)
198198
}
199199
return nil
200200
}

0 commit comments

Comments
 (0)