question: @ Nonnull private static NodeDisk findNodeDisk ( String diskId , List < NodeDisk > nodeDisks , String nodeName ) throws IOException { NodeDisk selected = null ; for ( NodeDisk nodeDisk : nodeDisks ) { if ( diskId . equals ( nodeDisk . getDiskRefId ( ) ) ) { selected = nodeDisk ; break ; } } if ( selected == null ) { String message = format ( "The Node '%s' config does not have defined any Disk Ref ID '%s'" , nodeName , diskId ) ; throw new AbortException ( message ) ; } if ( selected . getNodeMountPoint ( ) == null ) { String message = format ( "The Node '%s' config does not have defined any node mount point for Disk Ref ID '%s'" , nodeName , diskId ) ; throw new AbortException ( message ) ; } return selected ; }
target:  Finds the disk definition from the given disks list that matches the given disk id.