1
0
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:
Christian González 2021-11-11 12:42:40 +01:00 committed by GitHub
parent 47b8fe5411
commit cdc0ab02d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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