fix bug 3482554: not correct msg if rpower on one of lpars not exist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11450 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
a1d39cd117
commit
d7815810ca
@ -277,13 +277,14 @@ sub powercmd {
|
||||
if( $data =~ /Error/) {
|
||||
if( $data =~ /Power interval/) {
|
||||
$data = "Error: Invalid powerinterval value in the site table. The valid powerinerval value could be 0 to 300 .";
|
||||
push @output, [$node_name, $data, -1];
|
||||
next;
|
||||
} elsif ( $data =~ /$node_name/) {
|
||||
push @output, [$node_name, $data, -1];
|
||||
next;
|
||||
}
|
||||
push @output, [$node_name, $data, -1];
|
||||
} else {
|
||||
push @output, [$node_name,"Success", 0];
|
||||
}
|
||||
|
||||
|
||||
push @output, [$node_name,"Success", 0];
|
||||
}
|
||||
|
||||
return( \@output );
|
||||
|
Loading…
Reference in New Issue
Block a user