diff --git a/profcheck/check.go b/profcheck/check.go index d182bdd..0880aa4 100644 --- a/profcheck/check.go +++ b/profcheck/check.go @@ -202,7 +202,7 @@ func (c ConformanceChecker) checkValueType(valueType *profiles.ValueType, dict * if err := c.checkIndex(len(dict.StringTable), valueType.GetTypeStrindex()); err != nil { errs = errors.Join(errs, prefixErrorf(err, "type_strindex")) } - return nil + return errs } func (c ConformanceChecker) checkMappingTable(mappingTable []*profiles.Mapping, dict *profiles.ProfilesDictionary) error {