fix: write error stack bug

This commit is contained in:
loveuer committed 2025-01-22 17:29:12 +08:00
1 parent b247b4fea8
commit b7b9c14e79
5 files changed
+45 -16

No files matched your search

-1
View File
@@ -32,7 +32,6 @@ func ReadData(ctx context.Context, client *elastic.Client, index string, size, m
defer func() {
close(dataCh)
close(errCh)
if scrollId != "" {
bs, _ := json.Marshal(map[string]string{