Commit 081baa5
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 <jeroy@nvidia.com>1 parent 49edade commit 081baa5
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
| 341 | + | |
341 | 342 | | |
342 | 343 | | |
343 | 344 | | |
| |||
0 commit comments