remove unnecessary code

This commit is contained in:
chrislu 2025-06-28 20:26:46 -07:00
parent 3d519fa2a6
commit a788d9ab53

View File

@ -62,12 +62,6 @@ func (c *Collector) CollectAndSendAsync() {
return
}
// Only leader master should send telemetry to avoid duplicates
if !c.isLeader() {
glog.V(2).Infof("Skipping telemetry collection - not the leader master")
return
}
go func() {
data := c.collectData()
c.client.SendTelemetryAsync(data)