-Fix improper lack of 'serverdone' tag

-Fix syntax error in conserver plugin

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1248 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-05-02 12:53:09 +00:00
parent ce1e7d6bc5
commit bc951b2525
2 changed files with 2 additions and 1 deletions

View File

@ -218,7 +218,7 @@ sub makeconservercf {
# skip the one that does not have 'cons' defined, unless a serialport setting suggests otherwise
my @cfgents=();
foreach (@cfgents1) {
if ($_->{cons} or defined($_->{'serialport'}) { push @cfgents, $_; }
if ($_->{cons} or defined($_->{'serialport'})) { push @cfgents, $_; }
}
# get the teminal servers and terminal port when cons is mrv or cyclades

View File

@ -556,6 +556,7 @@ sub plugin_command {
@nodes = noderange($req->{noderange}->[0]);
if (nodesmissed) {
my $rsp = {errorcode=>1,error=>"Invalid nodes in noderange:".join(',',nodesmissed)};
$rsp->{serverdone} = {};
if ($sock) {
print $sock XMLout($rsp,RootName=>'xcatresponse' ,NoAttr=>1);
}