fix subroutine moving issue in xCAT-server/lib/xcat/monitoring/

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13505 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
zhaoertao 2012-08-14 11:57:30 +00:00
parent 3eda693ede
commit a70a6401fa

View File

@ -510,7 +510,7 @@ sub confGmetad {
if ( -e "/etc/xCATSN" ) {
print( OUTFILE "gridname \"$cluster\"\n" );
print( OUTFILE "data_source \"$cluster\" localhost\n" );
my $master = xCAT::Utils->get_site_Master();
my $master = xCAT::TableUtils->get_site_Master();
print( OUTFILE "trusted_hosts $master\n" );
} else {
for ( my $j = 0 ; $j < $num ; $j++ ) {