-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:
parent
ce1e7d6bc5
commit
bc951b2525
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user