From 42b6351dc6072143d31f1c9d8f6f5855d13fa99d Mon Sep 17 00:00:00 2001 From: Qu Xuan Date: Wed, 27 Nov 2019 13:43:57 +0800 Subject: [PATCH] fix: stack overflow --- pkg/cloudcommon/db/caller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cloudcommon/db/caller.go b/pkg/cloudcommon/db/caller.go index 5e666f198f..175ffdc2de 100644 --- a/pkg/cloudcommon/db/caller.go +++ b/pkg/cloudcommon/db/caller.go @@ -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) {