Add debug logging when checking requirements

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar 2022-05-05 14:14:01 +02:00
parent 70c4588197
commit 9e46d41dbe

View File

@ -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