code: func validatePodInfoOnMount(podInfoOnMount *bool, fldPath *field.Path) field.ErrorList {
  	allErrs := field.ErrorList{}
  	if podInfoOnMount == nil {
  		allErrs = append(allErrs, field.Required(fldPath, ""))
  	}
  
  	return allErrs
  }
docs: // validatePodInfoOnMount tests if podInfoOnMount is set for CSIDriver.