Commit 99b526d0 authored by Jonathon Duerig's avatar Jonathon Duerig
Browse files

Fixed bug preventing virtualization_subtype from being read properly.

parent 19783e58
......@@ -319,6 +319,11 @@ sub GetSubnodeOf($)
}
}
}
if (defined($result)) {
carp("--subnode = ".$result);
} else {
carp("--subnode undefined");
}
return $result;
}
......@@ -347,7 +352,7 @@ sub GetVirtualizationSubtype($)
my ($node) = @_;
my $result = undef;
if (IsVersion0($node)) {
my $result = GeniXML::GetText("virtualization_subtype", $node);
$result = GeniXML::GetText("virtualization_subtype", $node);
} else {
my @types = FindNodes("n:type", $node)->get_nodelist();
foreach my $current (@types) {
......
Supports Markdown
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