Skip to content

Commit

Permalink
solve conflict
Browse files Browse the repository at this point in the history
Signed-off-by: LiZhenCheng9527 <[email protected]>
  • Loading branch information
LiZhenCheng9527 committed Sep 14, 2024
1 parent bc49986 commit 36825ab
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/controller/telemetry/metric.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,12 +361,7 @@ func (m *MetricController) getWorkloadByAddress(address []byte) (*workloadapi.Wo
networkAddr.Address, _ = netip.AddrFromSlice(address)
workload := m.workloadCache.GetWorkloadByAddr(networkAddr)
if workload == nil {
<<<<<<< HEAD
log.Debugf("cannot find workload %s", networkAddr.Address.String())
return nil, ""
=======
return nil, networkAddr.Address.String()
>>>>>>> 6abe3a1 (change Ip conversion)
}
return workload, networkAddr.Address.String()
}
Expand Down

0 comments on commit 36825ab

Please sign in to comment.