mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
M #-: Fix xpath for OpenNebula marketplace driver
(cherry picked from commit b27b0d43ca4d7f95f217a773d5329f3ebf31fd8d)
This commit is contained in:
parent
109ad8fe35
commit
5926ec076b
@ -250,11 +250,12 @@ end
|
||||
################################################################################
|
||||
|
||||
begin
|
||||
drv_message64 = STDIN.read
|
||||
drv_message64 = ARGV[0]
|
||||
drv_message = Base64.decode64(drv_message64)
|
||||
|
||||
doc = REXML::Document.new(drv_message).root
|
||||
url = doc.elements['/MARKETPLACE/TEMPLATE/ENDPOINT'].text rescue nil
|
||||
|
||||
url = doc.elements['//MARKETPLACE/TEMPLATE/ENDPOINT'].text rescue nil
|
||||
rescue StandardError
|
||||
nil
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user