From cd4e45e385087f57fe06f778a5a4ef45b0a3850f Mon Sep 17 00:00:00 2001 From: daniceexi Date: Thu, 16 May 2013 08:16:50 +0000 Subject: [PATCH] filter off several inside attributes from request git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16308 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/DiscoveryUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/DiscoveryUtils.pm b/perl-xCAT/xCAT/DiscoveryUtils.pm index 82e79e439..1e89fcd9d 100644 --- a/perl-xCAT/xCAT/DiscoveryUtils.pm +++ b/perl-xCAT/xCAT/DiscoveryUtils.pm @@ -39,7 +39,7 @@ sub update_discovery_data { $disdata{'discoverytime'} = $currtime; foreach my $attr (keys %$request) { - if ($attr =~ /^(command|discoverymethod|_xcat|cacheonly|noderange|environment)/) { + if ($attr =~ /^(command|discoverymethod|_xcat|cacheonly|noderange|environment|method|discoverytime|updateswitch)/) { next; } elsif ($attr =~ /^(node|uuid|arch|cpucount|cputype|memory|mtm|serial)$/) { $disdata{$attr} = $request->{$attr}->[0];