mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Co-authored-by: mouyaq <amoya@opennebula.io>
This commit is contained in:
parent
7332ae884e
commit
2275ed8002
@ -106,7 +106,8 @@ module NSXDriver
|
||||
stateless=\"false\" tcpStrict=\"true\" useSid=\"false\">\
|
||||
</section>"
|
||||
|
||||
section = @nsx_client.post(@url_sections, section_spec)
|
||||
section = Nokogiri::XML @nsx_client
|
||||
.post(@url_sections, section_spec)
|
||||
section_id = section.xpath('//section/@id').text
|
||||
result = section_by_id(section_id)
|
||||
raise 'Section was not created in DFW' unless result
|
||||
|
Loading…
x
Reference in New Issue
Block a user