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;