code: func (cache *schedulerCache) updatePod(oldPod, newPod *v1.Pod) error {
  	if err := cache.removePod(oldPod); err != nil {
  		return err
  	}
  	cache.addPod(newPod)
  	return nil
  }
docs: // Assumes that lock is already acquired.