correct the return value of filter_nostatusupdate

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16860 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
immarvin 2013-07-02 08:06:36 +00:00
parent 2b2d482aac
commit 2e3dd4761e

View File

@ -3331,7 +3331,7 @@ sub filter_nostatusupdate{
map{ if($nttabdata->{$_}->[0]->{os} !~ /(fedora|rh|centos|sles)/) {push @nodesfiltered,$_;} } @{$inref->{$::STATUS_INSTALLING}};
delete $inref->{$::STATUS_INSTALLING};
if(@nodesfiltered){
($inref->{$::STATUS_INSTALLING})=@nodesfiltered;
@{$inref->{$::STATUS_INSTALLING}}=@nodesfiltered;
}
}
@ -3340,7 +3340,7 @@ sub filter_nostatusupdate{
map{ if($nttabdata->{$_}->[0]->{os} !~ /(fedora|rh|centos|sles)/) {push @nodesfiltered,$_;} } @{$inref->{$::STATUS_NETBOOTING}};
delete $inref->{$::STATUS_NETBOOTING};
if(@nodesfiltered){
($inref->{$::STATUS_NETBOOTING})=@nodesfiltered;
@{$inref->{$::STATUS_NETBOOTING}}=@nodesfiltered;
}
}