mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 05:04:56 +09:00
Co-authored-by: mouyaq <amoya@opennebula.io>
This commit is contained in:
1 parent
7332ae884e
commit
2275ed8002
1 file changed
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user