Skip to content

Commit bed57fd

Browse files
authored
Merge pull request #864 from elezar/fix_custom_config_path_handling
Fix custom config path handling
2 parents 23b2970 + 4237556 commit bed57fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/nvcdi/lib.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ func New(opts ...Option) (Interface, error) {
9797
root.WithLogger(l.logger),
9898
root.WithDriverRoot(l.driverRoot),
9999
root.WithLibrarySearchPaths(l.librarySearchPaths...),
100+
root.WithConfigSearchPaths(l.configSearchPaths...),
100101
)
101102
if l.nvmllib == nil {
102103
var nvmlOpts []nvml.LibraryOption

0 commit comments

Comments
 (0)