We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 668dc8b commit 5c04425Copy full SHA for 5c04425
pkg/epp/datastore/datastore.go
@@ -268,7 +268,7 @@ func (ds *datastore) PodUpdateOrAddIfNotExist(pod *corev1.Pod) bool {
268
}
269
var podInfo podinfo.PodInfo
270
existing, ok := ds.pods.Load(namespacedName)
271
- if !ok { // new pod. add a new pod scraper (it's startred internally)
+ if !ok { // new pod, create a new PodInfo (scrapers are started internally)
272
podInfo = ds.podInfoFactory.NewPodInfo(ds.parentCtx, pod, ds)
273
ds.pods.Store(namespacedName, podInfo)
274
} else {
0 commit comments