diff --git a/cmd/nvidia-ctk/cdi/generate/generate.go b/cmd/nvidia-ctk/cdi/generate/generate.go index 93334eb3..0b0de708 100644 --- a/cmd/nvidia-ctk/cdi/generate/generate.go +++ b/cmd/nvidia-ctk/cdi/generate/generate.go @@ -279,6 +279,8 @@ func (m command) generateSpec(root string, nvidiaCTKPath string, namer deviceNam if err != nil { 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 return &spec, nil