vendor: Update everything
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4620
This commit is contained in:
3
vendor/github.com/d4l3k/messagediff/messagediff.go
generated
vendored
3
vendor/github.com/d4l3k/messagediff/messagediff.go
generated
vendored
@@ -155,6 +155,9 @@ func (d *Diff) diff(aVal, bVal reflect.Value, path Path) bool {
|
||||
for i := 0; i < typ.NumField(); i++ {
|
||||
index := []int{i}
|
||||
field := typ.FieldByIndex(index)
|
||||
if field.Tag.Get("testdiff") == "ignore" { // skip fields marked to be ignored
|
||||
continue
|
||||
}
|
||||
localPath := append(localPath, StructField(field.Name))
|
||||
aI := unsafeReflectValue(aVal.FieldByIndex(index))
|
||||
bI := unsafeReflectValue(bVal.FieldByIndex(index))
|
||||
|
||||
Reference in New Issue
Block a user