From d9bc2c9e991b2fe925565dfd7d0ec667b64bb52f Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期四, 17 八月 2023 16:01:02 +0800 Subject: [PATCH] 完成bom上报 --- 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