defined(@array) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14494 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
f1333718f9
commit
7d20dade12
@ -4528,7 +4528,7 @@ sub get_blades_for_mpa {
|
||||
my @nodearray = $mptab->getAttribs({mpa=>$mpa,nodetype=>"blade"}, qw(node));
|
||||
my @blades = ();
|
||||
my $nodesattrs;
|
||||
if (!defined(@nodearray)) {
|
||||
if (!(@nodearray)) {
|
||||
return (\%blades_hash);
|
||||
} else {
|
||||
foreach (@nodearray) {
|
||||
|
Loading…
Reference in New Issue
Block a user