mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-26 13:59:45 +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.WithNVIDIACTKPath(cfg.NVIDIACTKConfig.Path),
|
||||||
tegra.WithCSVFiles(csvFiles),
|
tegra.WithCSVFiles(csvFiles),
|
||||||
)
|
)
|
||||||
|
if err != nil {
|
||||||
|
return nil, fmt.Errorf("failed to construct discoverer: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
discoverModifier, err := NewModifierFromDiscoverer(logger, d)
|
discoverModifier, err := NewModifierFromDiscoverer(logger, d)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user