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:
@@ -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{}
|
||||
|
Reference in New Issue
Block a user