Modify the arguments number lack bug

The _heal_proxy_ports method in manager_proxy.py lacks an argument
of 'instance', which make the vm can not launched.

Change-Id: I59ecb92aca4b816dfcd4a3d0821a6297b625d136
This commit is contained in:
joey5678 2014-10-15 21:20:09 +08:00
parent 06182d11c0
commit d60ac07ff9
1 changed files with 1 additions and 1 deletions

View File

@ -873,7 +873,7 @@ class ComputeManager(manager.Manager):
# spawn success
return instance, network_info
def _heal_proxy_ports(self, context, network_info):
def _heal_proxy_ports(self, context, instance, network_info):
physical_ports = []
for netObj in network_info:
net_id = netObj['network']['id']