修复返回值解析方法的BUG
This commit is contained in:
parent
f0cfac27b6
commit
c7e65cd925
@ -237,7 +237,7 @@ func (c *Client) CommandProxyWithReceiver(ctx *Context, flag string, receiver in
|
||||
result interface{}
|
||||
)
|
||||
|
||||
if result, err = c.CommandProxy(ctx, flag, cmd, param); nil != err {
|
||||
if result, err = c.CommandProxy(ctx, flag, cmd, param...); nil != err {
|
||||
return err
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user