mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-26 10:03:37 +03:00
parent
09adfe97e8
commit
d4495e5ec0
@ -83,9 +83,9 @@ module NSXDriver
|
||||
https.request(request)
|
||||
end
|
||||
|
||||
response_json = JSON.parse(response.body)
|
||||
# If response is different as expected raise the message
|
||||
unless check_response(response, 201)
|
||||
response_json = JSON.parse(response.body)
|
||||
nsx_error = "\nNSX error code: " \
|
||||
"#{response_json['errorCode']}, " \
|
||||
"\nNSX error details: " \
|
||||
|
Loading…
x
Reference in New Issue
Block a user