mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-25 21:39:10 +00:00
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:
commit
9dd324be9c
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user