Add \n to two message so that we would get a line feed when
displayed. "Invalid nodes in noderange". git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@136 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
c15ee20511
commit
1314be0e0e
@ -197,7 +197,7 @@ sub plugin_command {
|
||||
@nodes = noderange($req->{noderange}->[0]);
|
||||
if (nodesmissed) {
|
||||
# my $rsp = {errorcode=>1,error=>"Invalid nodes in noderange:".join(',',nodesmissed)};
|
||||
print "Invalid nodes in noderange:".join(',',nodesmissed);
|
||||
print "Invalid nodes in noderange:".join(',',nodesmissed)."\n";
|
||||
# if ($sock) {
|
||||
# print $sock XMLout($rsp,RootName=>'xcatresponse' ,NoAttr=>1);
|
||||
# }
|
||||
@ -350,7 +350,7 @@ sub do_request {
|
||||
my @nodes = noderange($req->{noderange}->[0]);
|
||||
my %resp;
|
||||
if (nodesmissed) {
|
||||
$resp{warning}="Invalid nodes in noderange:".join ',',nodesmissed;
|
||||
$resp{warning}="Invalid nodes in noderange:".join ',',nodesmissed ."\n";
|
||||
}
|
||||
$resp{serverdone} = {};
|
||||
@{$resp{node}}=@nodes;
|
||||
|
Loading…
Reference in New Issue
Block a user