From e2d8a38928cd1b9709cfc2fc3422171fcb9954cc Mon Sep 17 00:00:00 2001 From: ligc Date: Wed, 19 Jun 2013 01:38:20 +0000 Subject: [PATCH] fix for bug 3630: typo with opt_nc and opt_c git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16674 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/DBobjUtils.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/DBobjUtils.pm b/perl-xCAT/xCAT/DBobjUtils.pm index 01f4267f7..dbfd2b7f3 100644 --- a/perl-xCAT/xCAT/DBobjUtils.pm +++ b/perl-xCAT/xCAT/DBobjUtils.pm @@ -57,7 +57,7 @@ sub getObjectsOfType # The database may be changed between getObjectsOfType calls # do not use cache %::saveObjList if --nocache is specified - if ($::saveObjList{$type} && !$::opt_c) + if ($::saveObjList{$type} && !$::opt_nc) { @objlist = @{$::saveObjList{$type}}; } @@ -606,7 +606,7 @@ sub getDBtable # save this table info - in case this subr gets called multiple times # --nocache flag specifies not to use cahe - if (grep(/^$table$/, @::foundTableList) && !$::opt_c) + if (grep(/^$table$/, @::foundTableList) && !$::opt_nc) { # already have this