mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-06-26 18:18:24 +00:00
@@ -51,11 +51,10 @@ func New(opts ...Option) (discover.Discover, error) {
|
||||
}
|
||||
|
||||
if o.symlinkLocator == nil {
|
||||
searchPaths := append(o.librarySearchPaths, "/")
|
||||
o.symlinkLocator = lookup.NewSymlinkLocator(
|
||||
lookup.WithLogger(o.logger),
|
||||
lookup.WithRoot(o.driverRoot),
|
||||
lookup.WithSearchPaths(searchPaths...),
|
||||
lookup.WithSearchPaths(append(o.librarySearchPaths, "/")...),
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user