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