Skip to content

Commit

Permalink
Fix printing too many warnings (#27015) (#27669)
Browse files Browse the repository at this point in the history
Signed-off-by: longjiquan <jiquan.long@zilliz.com>
  • Loading branch information
longjiquan authored Oct 13, 2023
1 parent 42d778e commit 350fcc0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/util/flowgraph/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,11 @@ func (node *BaseNode) IsValidInMsg(in []Msg) bool {
return false
}

if len(in) == 0 {
// avoid printing too many logs.
return false
}

if len(in) != 1 {
return false
}
Expand Down

0 comments on commit 350fcc0

Please sign in to comment.