Skip to content

Commit

Permalink
[ingester] not query when podid is zero (#4296)
Browse files Browse the repository at this point in the history
  • Loading branch information
taloric committed Sep 15, 2023
1 parent 0bb8a9e commit 27f8029
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/ingester/profile/dbwriter/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,9 @@ func (p *InProcessProfile) fillResource(vtapID uint32, containerID string, platf
// 2. if find nothing, try to find platform info by containerid
if info == nil {
p.fillPodInfo(vtapID, containerID, platformData)
info = platformData.QueryEpcIDPodInfo(p.L3EpcID, p.PodID)
if p.PodID != 0 {
info = platformData.QueryEpcIDPodInfo(p.L3EpcID, p.PodID)
}
}
}

Expand Down

0 comments on commit 27f8029

Please sign in to comment.