Skip to content

Commit

Permalink
modify variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
DMwangnima committed Jan 28, 2024
1 parent 67d709b commit 6d64536
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/hessian2/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ func setValue(dest, v reflect.Value) {
vType := v.Type()
// get the real value and real type
if vType.String() == "interface {}" {
test := v.Interface()
v = reflect.ValueOf(test)
realIntf := v.Interface()
v = reflect.ValueOf(realIntf)
vType = v.Type()
}
destType := dest.Type()
Expand Down

0 comments on commit 6d64536

Please sign in to comment.