mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-22 08:18:32 +00:00
Add debug logging when checking requirements
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
70c4588197
commit
9e46d41dbe
@ -61,6 +61,7 @@ func (r Requirements) Assert() error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
r.logger.Debugf("Checking properties %+v against requirements %v", r.properties, r.requirements)
|
||||||
c, err := constraints.New(r.logger, r.requirements, r.properties)
|
c, err := constraints.New(r.logger, r.requirements, r.properties)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user