fix parsing primitive types instead of erroring unknown type
This commit is contained in:
parent
feec6e96d0
commit
dfa6cba137
|
@ -123,6 +123,6 @@ func parseParameter(data interface{}) (interface{}, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (3) NIL if unknown type */
|
/* (3) NIL if unknown type */
|
||||||
return dvalue, ErrUnknownType
|
return dvalue.Interface(), nil
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue