Merge pull request #115168 from HirazawaUi/delte-pkg-apis-other-unused-functions

remove unused not api functions in the pkg/apis directory
This commit is contained in:
Kubernetes Prow Robot
2023-04-24 14:23:01 -07:00
committed by GitHub
10 changed files with 0 additions and 165 deletions

View File

@@ -352,11 +352,6 @@ func validateCSINodeDriverNodeID(nodeID string, fldPath *field.Path, validationO
return allErrs
}
// CSINodeLongerID will check if the nodeID is longer than csiNodeIDMaxLength
func CSINodeLongerID(nodeID string) bool {
return len(nodeID) > csiNodeIDMaxLength
}
// validateCSINodeDriverAllocatable tests if Allocatable in CSINodeDriver has valid volume limits.
func validateCSINodeDriverAllocatable(a *storage.VolumeNodeResources, fldPath *field.Path) field.ErrorList {
allErrs := field.ErrorList{}