diff --git a/xCAT-server/lib/xcat/plugins/xcat2nim.pm b/xCAT-server/lib/xcat/plugins/xcat2nim.pm index 815ca2e9b..0d365e130 100644 --- a/xCAT-server/lib/xcat/plugins/xcat2nim.pm +++ b/xCAT-server/lib/xcat/plugins/xcat2nim.pm @@ -107,7 +107,7 @@ sub preprocess_request # - for the nodes that were provided # - to handle node and group objects my $sn; - $sn = xCAT::Utils->get_ServiceNode($mynodes, $service, "MN"); + $sn = xCAT::Utils->getSNformattedhash($mynodes, $service, "MN"); foreach my $snkey (keys %$sn) { my $reqcopy = {%$req}; $reqcopy->{node} = $sn->{$snkey};