From 423755607849b3b34474ecbe60282bc16339ffea Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Tue, 7 Jan 2025 19:11:01 +0100 Subject: [PATCH] Properly pass configSearchPaths to a Driver constructor Signed-off-by: Alexander Mikhalitsyn --- pkg/nvcdi/lib.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/nvcdi/lib.go b/pkg/nvcdi/lib.go index 8ed9e5aa..5499f733 100644 --- a/pkg/nvcdi/lib.go +++ b/pkg/nvcdi/lib.go @@ -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