mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #3926 from ioito/hotfix/qx-db-dispatcher-call
fix: stack overflow
This commit is contained in:
@@ -52,7 +52,7 @@ func (c *Caller) Call() ([]reflect.Value, error) {
|
||||
}
|
||||
|
||||
func call(obj interface{}, fName string, inputs ...interface{}) ([]reflect.Value, error) {
|
||||
return call(reflect.ValueOf(obj), fName, inputs...)
|
||||
return callObject(reflect.ValueOf(obj), fName, inputs...)
|
||||
}
|
||||
|
||||
func callObject(modelVal reflect.Value, fName string, inputs ...interface{}) ([]reflect.Value, error) {
|
||||
|
||||
Reference in New Issue
Block a user