From 5e56b19a43837944ec51c753dfcaa207ada07bef Mon Sep 17 00:00:00 2001 From: Florian Lehner Date: Sat, 28 Mar 2026 11:52:55 +0100 Subject: [PATCH] profcheck: return error in checkValueType Signed-off-by: Florian Lehner --- profcheck/check.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {