mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	use getNodeAttribs instead of getAttribs in script hmc for conserver
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3118 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -147,7 +147,7 @@ sub invoke_cmd { | ||||
|     ################################# | ||||
|     # Get node type | ||||
|     ################################# | ||||
|     my ($ent) = $tabs{nodetype}->getAttribs({'node'=>$node}, "nodetype" ); | ||||
|     my ($ent) = $tabs{nodetype}->getNodeAttribs($node, ["nodetype"] ); | ||||
|     if ( !defined( $ent )) { | ||||
|         return( sprintf( $errmsg{NODE_UNDEF}, "nodetype" )); | ||||
|     } | ||||
| @@ -186,7 +186,7 @@ sub invoke_cmd { | ||||
|     # Find MTMS in vpd database | ||||
|     ################################# | ||||
|     my @attrs = qw(mtm serial); | ||||
|     my ($vpd) = $tabs{vpd}->getAttribs({node=>$att->{parent}}, @attrs ); | ||||
|     my ($vpd) = $tabs{vpd}->getNodeAttribs($att->{parent}, \@attrs ); | ||||
|  | ||||
|     if ( !defined( $vpd )) { | ||||
|         return( sprintf( $errmsg{NODE_UNDEF}, "vpd" )); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user