1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-26 09:57:23 +03:00

B #3440: Fix headers format (#3978)

Change HEADER_XML and HEADER_JSON format from { :key => 'value' }
to { 'key' => 'value' }
This commit is contained in:
Angel Luis Moya Gonzalez 2019-11-22 13:45:19 +01:00 committed by Tino Vázquez
parent 0b38ffd6e6
commit 0aa759766b

View File

@ -40,8 +40,8 @@ module NSXDriver
# CONSTANTS
NSXT = 'NSX-T'
NSXV = 'NSX-V'
HEADER_JSON = { :'Content-Type' => 'application/json' }
HEADER_XML = { :'Content-Type' => 'application/xml' }
HEADER_JSON = { 'Content-Type' => 'application/json' }
HEADER_XML = { 'Content-Type' => 'application/xml' }
# NSX Manager
NSXT_EXTENSION_LIST = 'com.vmware.nsx.management.nsxt'
NSXV_EXTENSION_LIST = 'com.vmware.vShieldManager'