zhangzengfei
2023-08-15 efb92d737774650854cb79b37677b0ac4924f37d
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
}