1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-25 02:50:08 +03:00

M #: Fix minor bug for recovery snapshots (#1569)

(cherry picked from commit cdc0ab02d5015a9a77af14863781f913aabe7d06)
This commit is contained in:
Christian González 2021-11-11 12:42:40 +01:00 committed by Tino Vazquez
parent 3fad5555b7
commit 9e56af866d

View File

@ -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')