mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-01-23 11:07:02 +00:00
Merge branch 'fix-nvidia-ctk-path' into 'main'
Fix issue with blank nvidia-ctk path See merge request nvidia/container-toolkit/container-toolkit!297
This commit is contained in:
commit
e486095603
@ -47,6 +47,9 @@ func FindNvidiaCTK(logger *logrus.Logger, nvidiaCTKPath string) string {
|
||||
return nvidiaCTKPath
|
||||
}
|
||||
|
||||
if nvidiaCTKPath == "" {
|
||||
nvidiaCTKPath = nvidiaCTKExecutable
|
||||
}
|
||||
logger.Debugf("Locating NVIDIA Container Toolkit CLI as %v", nvidiaCTKPath)
|
||||
lookup := lookup.NewExecutableLocator(logger, "")
|
||||
hookPath := nvidiaCTKDefaultFilePath
|
||||
|
Loading…
Reference in New Issue
Block a user