fix linter error

This commit is contained in:
Michael Eischer committed 2026-10-17 22:57:11 +02:00
1 parent 35f15c398a
commit 2497d99f9f
3 files changed
+3 -5

No files matched your search

-2
View File
@@ -469,8 +469,6 @@ func OSAttrsToGenericAttributes(attributeType reflect.Type, attributeValuePtr *r
// Iterate over the fields of the struct
for field := range attributeType.Fields() {
field := field
// Get the field value using reflection
fieldValue := attributeValue.FieldByName(field.Name)