Skip expensive table lookup for trivial lsvm case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9898 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
6856e705db
commit
8c14e5967d
@ -2468,7 +2468,7 @@ sub process_request {
|
||||
if ($::XCATSITEVALS{usexhrm}) { $use_xhrm=1; }
|
||||
$vmtab = xCAT::Table->new("vm");
|
||||
$confdata={};
|
||||
xCAT::VMCommon::grab_table_data($noderange,$confdata,$callback);
|
||||
unless ($command eq 'lsvm') { xCAT::VMCommon::grab_table_data($noderange,$confdata,$callback); }
|
||||
$kvmdatatab = xCAT::Table->new("kvm_nodedata",-create=>0); #grab any pertinent pre-existing xml
|
||||
if ($kvmdatatab) {
|
||||
$confdata->{kvmnodedata} = $kvmdatatab->getNodesAttribs($noderange,[qw/xml/]);
|
||||
|
Loading…
Reference in New Issue
Block a user