From de83e9c16368a6727739665f8b45b83ba4e2be2a Mon Sep 17 00:00:00 2001
From: lissav <lissav@8638fb3e-16cb-4fca-ae20-7b5d299a9bcd>
Date: Thu, 23 Aug 2012 11:07:27 +0000
Subject: [PATCH] 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
---
 xCAT-server/lib/xcat/plugins/rhevm.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xCAT-server/lib/xcat/plugins/rhevm.pm b/xCAT-server/lib/xcat/plugins/rhevm.pm
index 2b7db67cc..8c8f23a88 100644
--- a/xCAT-server/lib/xcat/plugins/rhevm.pm
+++ b/xCAT-server/lib/xcat/plugins/rhevm.pm
@@ -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;