diff --git a/pkg/agent/orm/manager.go b/pkg/agent/orm/manager.go index 5480ae8d84..615c4f897c 100644 --- a/pkg/agent/orm/manager.go +++ b/pkg/agent/orm/manager.go @@ -453,8 +453,8 @@ func (m *ManagerImpl) processAddPod(podUID string) error { err error ) if m.mode == workModeNri { - m.ctx = context.WithValue(m.ctx, metaserverpod.BypassCacheKey, metaserverpod.BypassCacheTrue) - pod, err = m.metaManager.GetPod(m.ctx, podUID) + nriQueryCtx := context.WithValue(m.ctx, metaserverpod.BypassCacheKey, metaserverpod.BypassCacheTrue) + pod, err = m.metaManager.GetPod(nriQueryCtx, podUID) } else { pod, err = m.metaManager.GetPod(m.ctx, podUID) }