diff --git a/internal/util/flowgraph/node.go b/internal/util/flowgraph/node.go index 04d174b69a5e731a56dd045367bf2062c451eaba..abbc3c73b029cdabaacbb015e385bf5446e65fd3 100644 --- a/internal/util/flowgraph/node.go +++ b/internal/util/flowgraph/node.go @@ -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