Skip to content

Commit 5c04425

Browse files
committed
finalize
Signed-off-by: Nir Rozenbaum <[email protected]>
1 parent 668dc8b commit 5c04425

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/epp/datastore/datastore.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ func (ds *datastore) PodUpdateOrAddIfNotExist(pod *corev1.Pod) bool {
268268
}
269269
var podInfo podinfo.PodInfo
270270
existing, ok := ds.pods.Load(namespacedName)
271-
if !ok { // new pod. add a new pod scraper (it's startred internally)
271+
if !ok { // new pod, create a new PodInfo (scrapers are started internally)
272272
podInfo = ds.podInfoFactory.NewPodInfo(ds.parentCtx, pod, ds)
273273
ds.pods.Store(namespacedName, podInfo)
274274
} else {

0 commit comments

Comments
 (0)