code: func (p *PriorityQueue) UpdateNominatedPodForNode(pod *v1.Pod, nodeName string) {
  	p.lock.Lock()
  	p.nominatedPods.add(pod, nodeName)
  	p.lock.Unlock()
  }
docs: // UpdateNominatedPodForNode adds a pod to the nominated pods of the given node.
  // This is called during the preemption process after a node is nominated to run
  // the pod. We update the structure before sending a request to update the pod
  // object to avoid races with the following scheduling cycles.