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:
parent
2b2d482aac
commit
2e3dd4761e
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user