Commit 63c10c6d authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor fix to DeleteNodes(); ignore nodes from other CMs when error

checking node list.
parent 375f0bf4
......@@ -2346,6 +2346,10 @@ sub DeleteNodes($)
my %allnodes = ();
foreach my $noderef (GeniXML::FindNodes("n:node",
$manifest)->get_nodelist()) {
# Ignore nodes on other CMs.
if (! GeniXML::IsLocalNode($noderef));
my $id = GeniXML::GetVirtualId($noderef);
if (!defined($id)) {
print STDERR "No virtual node for $noderef\n";
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment