mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 13:15:14 +09:00
Co-authored-by: mouyaq <amoya@opennebula.io>
This commit is contained in:
1 parent
425e662edb
commit
783ec5c1bd
1 file changed
+1
-1
@@ -64,7 +64,7 @@ VNET_XPATH = '//EXTRA/VNET'
|
||||
# Changes due to new hooks
|
||||
arguments_raw = Base64.decode64(STDIN.read)
|
||||
arguments_xml = Nokogiri::XML(arguments_raw)
|
||||
success = arguments_xml.xpath(SUCCESS_XPATH).text
|
||||
success = arguments_xml.xpath(SUCCESS_XPATH).text != 'false'
|
||||
|
||||
unless success
|
||||
err_msg = arguments_xml.xpath(ERROR_XPATH).text
|
||||
|
||||
Reference in new issue
Block a user