mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-01-22 18:47:32 +00:00
Properly pass configSearchPaths to a Driver constructor
Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
This commit is contained in:
parent
aac0a62528
commit
3c012499db
@ -97,6 +97,7 @@ func New(opts ...Option) (Interface, error) {
|
|||||||
root.WithLogger(l.logger),
|
root.WithLogger(l.logger),
|
||||||
root.WithDriverRoot(l.driverRoot),
|
root.WithDriverRoot(l.driverRoot),
|
||||||
root.WithLibrarySearchPaths(l.librarySearchPaths...),
|
root.WithLibrarySearchPaths(l.librarySearchPaths...),
|
||||||
|
root.WithConfigSearchPaths(l.configSearchPaths...),
|
||||||
)
|
)
|
||||||
if l.nvmllib == nil {
|
if l.nvmllib == nil {
|
||||||
var nvmlOpts []nvml.LibraryOption
|
var nvmlOpts []nvml.LibraryOption
|
||||||
|
Loading…
Reference in New Issue
Block a user