Skip to content

Commit

Permalink
M #-: Fix xpath for OpenNebula marketplace driver
Browse files Browse the repository at this point in the history
  • Loading branch information
rsmontero committed Feb 1, 2024
1 parent 1ee6498 commit b27b0d4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/market_mad/remotes/one/monitor
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b27b0d4

Please sign in to comment.