code: func deleteTaints(taintsToRemove []v1.Taint, newTaints *[]v1.Taint) ([]error, bool) {
  	allErrs := []error{}
  	var removed bool
  	for _, taintToRemove := range taintsToRemove {
  		removed = false
  		if len(taintToRemove.Effect) > 0 {
  			*newTaints, removed = DeleteTaint(*newTaints, &taintToRemove)
  		} else {
  			*newTaints, removed = DeleteTaintsByKey(*newTaints, taintToRemove.Key)
  		}
  		if !removed {
  			allErrs = append(allErrs, fmt.Errorf("taint %q not found", taintToRemove.ToString()))
  		}
  	}
  	return allErrs, removed
  }
docs: // deleteTaints deletes the given taints from the node's taintlist.