use xCAT::Utils::getNodeIPaddress Function to get ip
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6849 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -118,7 +118,7 @@ sub fsp_api_action { | ||||
|     #    $res = "Failed to get the $fsp_name\'s ip"; | ||||
|     #    return ([$node_name, $res, -1]);	 | ||||
|     #} | ||||
|     $fsp_ip = getNodeIPaddress( $fsp_name ); | ||||
|     $fsp_ip = xCAT::Utils::getNodeIPaddress( $fsp_name ); | ||||
|     if(!defined($fsp_ip)) { | ||||
|         $res = "Failed to get the $fsp_name\'s ip"; | ||||
|         return ([$node_name, $res, -1]);	 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user