fix bug 2896247 mkhwconn has error working with plug-in with nodehm.mgt
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -89,8 +89,8 @@ sub add_ppc {
 | 
			
		||||
        # If cannot be overwroten, get
 | 
			
		||||
        # old data firstly
 | 
			
		||||
        ###############################
 | 
			
		||||
        my $mgt;
 | 
			
		||||
        my $cons;
 | 
			
		||||
        my $mgt = $hwtype;
 | 
			
		||||
        my $cons= $hwtype;
 | 
			
		||||
        if ( $not_overwrite)
 | 
			
		||||
        {
 | 
			
		||||
            my $enthash = $db{ppc}->getNodeAttribs( $name, [qw(hcp id pprofile parent)]);
 | 
			
		||||
@@ -114,11 +114,6 @@ sub add_ppc {
 | 
			
		||||
                $serial= $enthash->{serial} if ( $enthash->{serial});
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        else
 | 
			
		||||
        {
 | 
			
		||||
            $mgt = $hwtype;
 | 
			
		||||
            $cons = $hwtype;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        ###############################
 | 
			
		||||
        # Update ppc table
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user