未验证 提交 f834e220 编写于 作者: C congqixia 提交者: GitHub

Fix zero length slice declaration in flowgraph/node.go (#12393)

Signed-off-by: NCongqi Xia <congqi.xia@zilliz.com>
上级 9fc1ec06
......@@ -68,9 +68,8 @@ func (nodeCtx *nodeCtx) work() {
return
default:
// inputs from inputsMessages for Operate
inputs := make([]Msg, 0)
var res []Msg
var inputs, res []Msg
if !nodeCtx.node.IsInputNode() {
nodeCtx.collectInputMessages()
inputs = nodeCtx.inputMessages
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册