lint: gopls fixes

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2025-09-09 22:07:37 +02:00
parent 3d113f6397
commit 0beb1b3f2b
11 changed files with 16 additions and 19 deletions
+1 -2
View File
@@ -190,8 +190,7 @@ func ParseAnnotations(inp []string) (map[exptypes.AnnotationKey]string, error) {
continue
}
typesSplit := strings.Split(types, ",")
for _, typeAndPlatform := range typesSplit {
for typeAndPlatform := range strings.SplitSeq(types, ",") {
groups := annotationTypeRegexp.FindStringSubmatch(typeAndPlatform)
if groups == nil {
return nil, errors.Errorf(