defined(%hash) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14492 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -161,7 +161,7 @@ sub get_nodeset_state | ||||
|     my $state = "undefined"; | ||||
|     my $tftpdir; | ||||
|     my $boottype; | ||||
|     if( defined(%::GLOBAL_TAB_HASH) && defined($::GLOBAL_TAB_HASH{noderes}) && defined($::GLOBAL_TAB_HASH{noderes}{$node}) ) { | ||||
|     if( %::GLOBAL_TAB_HASH && defined($::GLOBAL_TAB_HASH{noderes}) && defined($::GLOBAL_TAB_HASH{noderes}{$node}) ) { | ||||
|         $tftpdir = $::GLOBAL_TAB_HASH{noderes}{$node}{tftpdir}; | ||||
|         $boottype = $::GLOBAL_TAB_HASH{noderes}{$node}{netboot}; | ||||
|          | ||||
|   | ||||
		Reference in New Issue
	
	Block a user