From bdce8a8eb475426cbf6b0c89ebc380895fa12f1c Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 16 May 2012 15:18:55 +0000 Subject: [PATCH] Since use_cache is a bit weird, NodeRange will instead force a build_cache(1) instead git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12736 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/NodeRange.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/NodeRange.pm b/perl-xCAT/xCAT/NodeRange.pm index da9c7dc45..4ad64033f 100644 --- a/perl-xCAT/xCAT/NodeRange.pm +++ b/perl-xCAT/xCAT/NodeRange.pm @@ -448,7 +448,7 @@ sub retain_cache { #A semi private operation to be used *ONLY* in the interestin $retaincache=shift; unless ($retaincache) { #take a call to retain_cache(0) to also mean that any existing #cache must be zapped - if ($nodelist) { $nodelist->_refresh_cache(); } + if ($nodelist) { $nodelist->_build_cache(1); } $glstamp=0; $allnodesetstamp=0; $allgrphashstamp=0;