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];