Merge branch 'tegra-chardev-discover' into 'main'

Use `devRoot` for discovering character devices on Tegra platforms

See merge request nvidia/container-toolkit/container-toolkit!524
This commit is contained in:
Evan Lezar 2023-12-15 14:34:07 +00:00
commit a2262d00cc

View File

@ -38,7 +38,7 @@ func (o tegraOptions) newDiscovererFromCSVFiles() (discover.Discover, error) {
devices := discover.NewCharDeviceDiscoverer( devices := discover.NewCharDeviceDiscoverer(
o.logger, o.logger,
o.driverRoot, o.devRoot,
targetsByType[csv.MountSpecDev], targetsByType[csv.MountSpecDev],
) )