code: func getUnscheduledPodsWithoutNode(runningNodesList []*v1.Node, nodeToDaemonPods map[string][]*v1.Pod) []string {
  	var results []string
  	isNodeRunning := make(map[string]bool)
  	for _, node := range runningNodesList {
  		isNodeRunning[node.Name] = true
  	}
  	for n, pods := range nodeToDaemonPods {
  		if !isNodeRunning[n] {
  			for _, pod := range pods {
  				if len(pod.Spec.NodeName) == 0 {
  					results = append(results, pod.Name)
  				}
  			}
  		}
  	}
  	return results
  }
docs: // getUnscheduledPodsWithoutNode returns list of unscheduled pods assigned to not existing nodes.
  // Returned pods can't be deleted by PodGCController so they should be deleted by DaemonSetController.