|
@@ -277,9 +277,9 @@ func recursiveUpdate(dst, src reflect.Value) error {
|
|
|
if srcVal.Kind() == reflect.Interface {
|
|
if srcVal.Kind() == reflect.Interface {
|
|
|
srcVal = srcVal.Elem()
|
|
srcVal = srcVal.Elem()
|
|
|
}
|
|
}
|
|
|
- if err := recursiveUpdate(dstField.Addr().Elem(), srcVal); err != nil {
|
|
|
|
|
- return err
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ if err := recursiveUpdate(dstField, srcVal); err != nil {
|
|
|
|
|
+ return err
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
return nil
|
|
return nil
|
|
|
}
|
|
}
|