mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-25 02:50:08 +03:00
Merge branch 'bug-391' into one-2.0
This commit is contained in:
commit
3e1079ee9a
@ -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