mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-25 21:39:10 +00:00
Add logging of minimum CDI version
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
f768bb5783
commit
201232dae3
@ -279,6 +279,8 @@ func (m command) generateSpec(root string, nvidiaCTKPath string, namer deviceNam
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("failed to get minumum required CDI spec version: %v", err)
|
return nil, fmt.Errorf("failed to get minumum required CDI spec version: %v", err)
|
||||||
}
|
}
|
||||||
|
m.logger.Infof("Using minimum required CDI spec version: %s", minVersion)
|
||||||
|
|
||||||
spec.Version = minVersion
|
spec.Version = minVersion
|
||||||
|
|
||||||
return &spec, nil
|
return &spec, nil
|
||||||
|
Loading…
Reference in New Issue
Block a user