fixed bug 3314509, modified the message when no deconfigured resources

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9787 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2011-06-13 01:38:25 +00:00
parent d8f030a7a8
commit 2729552e44

View File

@ -259,7 +259,7 @@ sub deconfig {
#####################################
my $decfg = XMLin($data);
my $node = $decfg->{NODE};
if( $node ) {
if( !defined($node) ) {
push @result,[$name,"Deconfigured resources", 0];
push @result,[$name,$node->{Location_code}.",".$node->{RID}, 0];
foreach my $unit(@{$node->{GARDRECORD}}) {