fix defect #3843 copycds complains Use of uninitialized value in numeric eq (==) at /opt/xcat/lib/perl/xCAT_plugin/esx.pm line 148.
This commit is contained in:
parent
4fc4988238
commit
92b9ca4b9e
@ -145,7 +145,7 @@ sub preprocess_request {
|
||||
my $request = shift;
|
||||
my $callback = shift;
|
||||
#if already preprocessed, go straight to request
|
||||
if ( (defined($request->{_xcatpreprocessed}))
|
||||
if ( (defined($request->{_xcatpreprocessed}->[0]))
|
||||
&& ($request->{_xcatpreprocessed}->[0] == 1))
|
||||
{
|
||||
return [$request];
|
||||
|
Loading…
Reference in New Issue
Block a user