From efb92d737774650854cb79b37677b0ac4924f37d Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期二, 15 八月 2023 18:10:05 +0800 Subject: [PATCH] 修复channel的初始化 --- report/task.go | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/report/task.go b/report/task.go index f0011d1..50c2727 100644 --- a/report/task.go +++ b/report/task.go @@ -42,10 +42,16 @@ // 涓婃姤bom if config.Options.BomTopic != "" { - SendBom(true) + SendBom(false) } time.Sleep(time.Duration(config.Options.SyncInterval) * time.Second) } } } + +func HandleBomQuery(msg []byte) error { + SendBom(true) + + return nil +} -- Gitblit v1.8.0