Fix lsslp to not init something in handled_commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11670 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
238baaf4f7
commit
980def4650
@ -176,7 +176,6 @@ my %globalnodetype = (
|
||||
##########################################################################
|
||||
sub handled_commands {
|
||||
|
||||
$macmap = xCAT::MacMap->new();
|
||||
return( {lsslp=>"lsslp"} );
|
||||
}
|
||||
|
||||
@ -4012,6 +4011,7 @@ sub process_request {
|
||||
my $req = shift;
|
||||
my $callback = shift;
|
||||
my $doreq = shift;
|
||||
unless ($macmap) { $macmap = xCAT::MacMap->new(); }
|
||||
|
||||
###########################################
|
||||
# Build hash to pass around
|
||||
|
Loading…
x
Reference in New Issue
Block a user