mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-19 04:40:21 +00:00
correct typo and remove useless variable definition
This commit is contained in:
@ -838,7 +838,7 @@ sub submit_request {
|
||||
#----- end added to Client.pm -----#
|
||||
|
||||
if (ref $_->{'_xcatdest'} and (ref $_->{'_xcatdest'}) eq 'ARRAY') {
|
||||
_->{'_xcatdest'} = $_->{'_xcatdest'}->[0];
|
||||
$_->{'_xcatdest'} = $_->{'_xcatdest'}->[0];
|
||||
}
|
||||
if ($onlyone and not($_->{'_xcatdest'} and xCAT::NetworkUtils->thishostisnot($_->{'_xcatdest'}))) {
|
||||
$SIG{CHLD} = 'DEFAULT';
|
||||
|
@ -21,8 +21,7 @@ sub parse_args {
|
||||
my $cmd = $request->{command};
|
||||
my $args = $request->{arg};
|
||||
my $node = $request->{node};
|
||||
my $vers =
|
||||
my @VERSION = qw( 2.6 );
|
||||
my @VERSION = qw( 2.6 );
|
||||
my @dev = qw(hfi net);
|
||||
|
||||
#############################################
|
||||
|
@ -2165,7 +2165,7 @@ sub dispatch_request {
|
||||
my $child;
|
||||
delete $_->{noderange};
|
||||
if (ref $_->{'_xcatdest'} and (ref $_->{'_xcatdest'}) eq 'ARRAY') {
|
||||
_->{'_xcatdest'} = $_->{'_xcatdest'}->[0];
|
||||
$_->{'_xcatdest'} = $_->{'_xcatdest'}->[0];
|
||||
}
|
||||
if ($onlyone and not($_->{'_xcatdest'} and xCAT::NetworkUtils->thishostisnot($_->{'_xcatdest'}))) {
|
||||
$SIG{CHLD} = 'DEFAULT';
|
||||
|
Reference in New Issue
Block a user