From 2e3dd4761e18e55b5592fa54cfa1280f946d0b7e Mon Sep 17 00:00:00 2001 From: immarvin Date: Tue, 2 Jul 2013 08:06:36 +0000 Subject: [PATCH] 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 --- perl-xCAT/xCAT/Utils.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/Utils.pm b/perl-xCAT/xCAT/Utils.pm index 5bf570a87..49d8c0827 100644 --- a/perl-xCAT/xCAT/Utils.pm +++ b/perl-xCAT/xCAT/Utils.pm @@ -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; } }