zhangzengfei
2023-09-11 1873461012c99801f364bd07fae2c218d245048e
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
}