Commit 75ef43f
committed
Pass driver root to nvinfo.New in device plugin main
The `nvinfo` instance passed to `validateFlags` needs to have
the driver root path, otherwise the `HasNvml` call will fail
(`libnvidia-ml.so.1` won't be found). This will in turn cause
`validateFlags` to error out if `AnyCDIEnabled` is true.
Signed-off-by: Jean-Francois Roy <[email protected]>1 parent 8e66a4a commit 75ef43f
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
| 336 | + | |
336 | 337 | | |
337 | 338 | | |
338 | 339 | | |
| |||
0 commit comments