]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Datacenter moid should not be tuple
authorYang Yu <yangyu@vmware.com>
Fri, 29 Aug 2014 06:05:26 +0000 (23:05 -0700)
committerYang Yu <yangyu@vmware.com>
Fri, 29 Aug 2014 06:06:25 +0000 (23:06 -0700)
Remove the comma, because it will convert the string to tuple
Closes-bug: #1362480

Change-Id: I2debb76bae26fe3d437a431f2946f66a1cbe6851

neutron/plugins/vmware/vshield/edge_appliance_driver.py

index ce61b8f817bebed81c5bc12bb6790c4a91b83c09..806a18c627cf28db3283138c8397772498084bc5 100644 (file)
@@ -62,7 +62,7 @@ class EdgeApplianceDriver(object):
             edge['appliances']['deploymentContainerId'] = (
                 deployment_container_id)
         if datacenter_moid:
-            edge['datacenterMoid'] = datacenter_moid,
+            edge['datacenterMoid'] = datacenter_moid
 
         return edge