From 59e6096769bc175516c1bcbbc12e4711d1ff294c Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期二, 15 八月 2023 18:08:17 +0800 Subject: [PATCH] 调整代码结构 --- 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