mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-22 08:18:32 +00:00
Fix ineffectual assignment
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
3be16d8077
commit
013a1b413b
@ -81,6 +81,9 @@ func NewCSVModifier(logger *logrus.Logger, cfg *config.Config, ociSpec oci.Spec)
|
||||
tegra.WithNVIDIACTKPath(cfg.NVIDIACTKConfig.Path),
|
||||
tegra.WithCSVFiles(csvFiles),
|
||||
)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to construct discoverer: %v", err)
|
||||
}
|
||||
|
||||
discoverModifier, err := NewModifierFromDiscoverer(logger, d)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user