Merge branch 'fix-nvidia-ctk-path' into 'main'

Ensure that generate uses a consistent nvidia-ctk path

See merge request nvidia/container-toolkit/container-toolkit!301
This commit is contained in:
Evan Lezar 2023-02-20 08:29:44 +00:00 committed by Evan Lezar
parent bc37b97c73
commit d5ab1c0ba0

View File

@ -122,6 +122,8 @@ func (m command) validateFlags(r *cli.Context, cfg *config) error {
return err return err
} }
cfg.nvidiaCTKPath = discover.FindNvidiaCTK(m.logger, cfg.nvidiaCTKPath)
return nil return nil
} }