mirror of
https://github.com/restic/restic.git
synced 2026-10-30 03:55:42 +00:00
fix linter error
This commit is contained in:
1 parent
35f15c398a
commit
2497d99f9f
3 files changed
+3
-5
No files matched your search
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user