From df6bfd2bcc6bd8df6636f75c617dfa70c94b70f8 Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 15 Sep 2010 12:42:45 +0000 Subject: [PATCH] fix error when new table added git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7458 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/xcatd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index e271a259e..aaba49ed0 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -157,9 +157,9 @@ $progname = \$0; if (xCAT::Utils->isMN()) { # update schema for xCAT tables - my %int_tabspec; - %int_tabspec = xCAT::Table->getTableList; - foreach my $tablename (keys %int_tabspec) { + my @table; + push @table,xCAT::Table->getTableList(); + foreach my $tablename (@table) { my $tablelisttab=xCAT::Table->new($tablename,-create=>1); my $rc= $tablelisttab->updateschema(); $tablelisttab->close;