mirror of https://github.com/apache/cloudstack.git
Merge remote-tracking branch 'origin/4.16' into main
This commit is contained in:
commit
1b46635947
|
|
@ -103,7 +103,7 @@ public class OVFParser {
|
|||
Node value = childNodes.item(i);
|
||||
// Also match if the child's name has a suffix:
|
||||
// Example: <rasd:AllocationUnits>
|
||||
if (value != null && (value.getNodeName().equals(childNodeName)) || value.getNodeName().endsWith(":" + childNodeName)) {
|
||||
if (value != null && (value.getNodeName().equals(childNodeName) || value.getNodeName().endsWith(":" + childNodeName))) {
|
||||
return value.getTextContent();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue