Skip to content
Snippets Groups Projects
Commit 4b7168a4 authored by pantianying's avatar pantianying
Browse files

bug fix

parent c591a450
No related branches found
No related tags found
No related merge requests found
......@@ -49,9 +49,9 @@ func (ef *GenericFilter) Invoke(invoker protocol.Invoker, invocation protocol.In
oldArguments := invocation.Arguments()
if oldParams, ok := oldArguments[2].([]interface{}); ok {
newParams := make([]hessian.Object, len(oldParams))
newParams := make([]hessian.Object, 0, len(oldParams))
for i := range oldParams {
newParams = append(newParams, 0, hessian.Object(struct2MapAll(oldParams[i])))
newParams = append(newParams, hessian.Object(struct2MapAll(oldParams[i])))
}
newArguments := []interface{}{
oldArguments[0],
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment