fix bug about 'hwtype' string changing into a string array in hierarchical environment.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13397 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
zhaoertao 2012-08-02 06:54:34 +00:00
parent 3142f33bde
commit bc25b8b239

View File

@ -2148,8 +2148,10 @@ sub process_request {
}
$request->{opt} = \%t;
}
# $request->{hwtype} = $package;
if (ref($req->{hwtype}) eq 'ARRAY') {
$request->{hwtype} = $req->{hwtype}->[0];
}
# $request->{hwtype} = $package;
$request->{callback}= $callback;
$request->{subreq} = $subreq;
#########################