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:
parent
3fad5555b7
commit
9e56af866d
@ -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