one minor bug for validate height for nodeimport
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14220 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -1501,8 +1501,8 @@ sub validate_node_entry{
 | 
			
		||||
                return "Specified unit $node_entry{$_} is a invalid number";
 | 
			
		||||
            }
 | 
			
		||||
        }elsif ($_ eq "height"){
 | 
			
		||||
            if (! exists $node_entry{"chassis"}){
 | 
			
		||||
                return "Chassis must be specified together with rack";
 | 
			
		||||
            if (! exists $node_entry{"racl"}){
 | 
			
		||||
                return "Height must be specified together with rack";
 | 
			
		||||
            }
 | 
			
		||||
            # Not a valid number.
 | 
			
		||||
            if (!($node_entry{$_} =~ /^\d+$/)){
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user