File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -506,7 +506,7 @@ func (r *Rbac) getIdentityByIp(ip []byte) Identity {
506506 networkAddress .Address , _ = netip .AddrFromSlice (ip )
507507 workload := r .workloadCache .GetWorkloadByAddr (networkAddress )
508508 if workload == nil {
509- log .Warnf ( "get workload from ip %v FAILED " , ip )
509+ log .Debugf ( "cannot find workload %v " , networkAddress . Address . String () )
510510 return Identity {}
511511 }
512512 return Identity {
Original file line number Diff line number Diff line change @@ -361,6 +361,7 @@ func (m *MetricController) getWorkloadByAddress(address []byte) (*workloadapi.Wo
361361 networkAddr .Address , _ = netip .AddrFromSlice (address )
362362 workload := m .workloadCache .GetWorkloadByAddr (networkAddr )
363363 if workload == nil {
364+ log .Debugf ("cannot find workload %s" , networkAddr .Address .String ())
364365 return nil , ""
365366 }
366367 return workload , networkAddr .Address .String ()
You can’t perform that action at this time.
0 commit comments