fix library for get_ServiceNode

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13584 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2012-08-23 11:07:27 +00:00
parent 2479aba866
commit de83e9c163

View File

@ -225,7 +225,7 @@ sub preprocess_request {
# The dispatch depends on the rhevm. Since the operation is in serial, so no need to use the service node.
my @requests;
my @rhevms=keys(%rhevm_hash);
my $sn = xCAT::Utils->get_ServiceNode(\@rhevms, 'xcat', "MN");
my $sn = xCAT::ServiceNodeUtils->get_ServiceNode(\@rhevms, 'xcat', "MN");
foreach my $snkey (keys %$sn){
my $reqcopy = {%$request};
$reqcopy->{'_xcatdest'} = $snkey;