mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-01-22 18:47:32 +00:00
Merge pull request #847 from mihalicyn/fix_custom_config_path_handling
Properly pass configSearchPaths to a Driver constructor
This commit is contained in:
commit
b6d360fbbe
@ -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