undo fix for bug 3393278: should fix some where else, external behaviour of nodels <empty_group> is changed and some customer is affected
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14600 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
d709219803
commit
0124789e7c
@ -408,10 +408,6 @@ sub plugin_command {
|
||||
$req->{emptynoderange} = [1];
|
||||
}
|
||||
|
||||
if(@nodes == 0 ) {
|
||||
print "No nodes or noderanges specified\n";
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
if (@nodes) { $req->{node} = \@nodes; }
|
||||
my %unhandled_nodes;
|
||||
|
@ -1010,16 +1010,6 @@ sub plugin_command {
|
||||
unless (@nodes) {
|
||||
$req->{emptynoderange} = [1];
|
||||
}
|
||||
|
||||
if(@nodes == 0) {
|
||||
my $rsp = {errorcode=>1,error=>"NO node or noderange specified"};
|
||||
$rsp->{serverdone} = {};
|
||||
if ($sock) {
|
||||
print $sock XMLout($rsp,RootName=>'xcatresponse' ,NoAttr=>1);
|
||||
}
|
||||
return ($rsp);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
if (@nodes) { $req->{node} = \@nodes; }
|
||||
|
Loading…
Reference in New Issue
Block a user