mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Merge branch 'mguezuraga-fix_user_template_xml'
This commit is contained in:
commit
b3a64b4738
@ -202,9 +202,9 @@ module OpenNebula
|
||||
# @return [String] The USER_TEMPLATE
|
||||
def user_template_xml
|
||||
if NOKOGIRI
|
||||
@xml.xpath('TEMPLATE').to_s
|
||||
@xml.xpath('USER_TEMPLATE').to_s
|
||||
else
|
||||
@xml.elements['TEMPLATE'].to_s
|
||||
@xml.elements['USER_TEMPLATE'].to_s
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user