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

F #3064: fix bug in Packet IPAM unregister (#3724)

This commit is contained in:
Alejandro Huertas Herrero 2019-09-18 10:03:55 +02:00 committed by Ruben S. Montero
parent d45bd83b7c
commit 7598dc4bb4

View File

@ -94,8 +94,10 @@ require 'opennebula'
data = Nokogiri::XML(Base64.decode64(STDIN.read))
packet = Packet::Client.new
packet.auth_token = data.xpath('//AR/PACKET_TOKEN').text
ar_token = data.xpath('//AR/PACKET_TOKEN').text
packet = Packet::Client.new
packet.auth_token = ar_token
ip = Packet::Ip.new
ip.project_id = data.xpath('//AR/PACKET_PROJECT').text