mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-25 02:50:08 +03:00
Fix for bug #391
This commit is contained in:
parent
5f6b326c52
commit
3e0fdfd318
@ -84,9 +84,7 @@ module OpenNebula
|
||||
return nil
|
||||
end
|
||||
|
||||
attribute = element.attr(name)
|
||||
|
||||
value = attribute if attribute != nil
|
||||
value = element[name] if element != nil
|
||||
else
|
||||
element=@xml.elements[key.to_s.upcase]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user