Merge branch 'tegra-dev-root' into 'main'

Fix using `devRoot` on Tegra platforms

See merge request nvidia/container-toolkit/container-toolkit!522
This commit is contained in:
Evan Lezar 2023-12-14 09:46:05 +00:00
commit 9dd324be9c

View File

@ -119,9 +119,9 @@ func WithDriverRoot(driverRoot string) Option {
// WithDevRoot sets the /dev root. // WithDevRoot sets the /dev root.
// If this is unset, the driver root is assumed. // If this is unset, the driver root is assumed.
func WithDevRoot(driverRoot string) Option { func WithDevRoot(devRoot string) Option {
return func(o *tegraOptions) { return func(o *tegraOptions) {
o.driverRoot = driverRoot o.devRoot = devRoot
} }
} }