Skip to content

Commit 5dfd847

Browse files
committed
drop empty exec msg
1 parent 6d1ecaf commit 5dfd847

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cluster/calcium/helper.go

+3
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,9 @@ func rawProcessVirtualizationInStream(
156156
defer inStream.Close()
157157

158158
for cmd := range inCh {
159+
if len(cmd) == 0 {
160+
continue
161+
}
159162
if f, ok := specialPrefixCallback[string(cmd[:1])]; ok {
160163
f(cmd[1:])
161164
continue

0 commit comments

Comments
 (0)