mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
M #: Fix minor bug for recovery snapshots (#1569)
This commit is contained in:
parent
47b8fe5411
commit
cdc0ab02d5
@ -24,7 +24,7 @@ def xml_elem(xml, xpath)
|
||||
rexml = REXML::Document.new(xml).root
|
||||
rexml.elements[xpath].text.to_s
|
||||
rescue StandardError
|
||||
nil
|
||||
''
|
||||
end
|
||||
|
||||
ds_loc = xml_elem(STDIN.read, 'DATASTORE_LOCATION')
|
||||
|
Loading…
x
Reference in New Issue
Block a user