summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorYun Mao <yunmao@gmail.com>2012-08-23 16:37:42 -0400
committerYun Mao <yunmao@gmail.com>2012-08-23 16:54:32 -0400
commit32b0346eb40a94ec6def3eed01e9424b0c660c53 (patch)
treef12e0e59e5b9bf00c4be376892bd40c76db71d21 /nova/openstack
parent13937c028df30de8649685b471c5fbbcf634cedd (diff)
downloadnova-32b0346eb40a94ec6def3eed01e9424b0c660c53.tar.gz
nova-32b0346eb40a94ec6def3eed01e9424b0c660c53.tar.xz
nova-32b0346eb40a94ec6def3eed01e9424b0c660c53.zip
Fix deallocate_fixed_ip() call by unifying signature
deallocate_fixed_ip() is defined in 3 classes with incompatible signatures: RPCAllocateFixedIP: deallocate_fixed_ip(self, context, address, host, **kwargs) NetworkManager: deallocate_fixed_ip(self, context, address, **kwargs) FlatManager: deallocate_fixed_ip(self, context, address, **kwargs) There is a non-trivial multiple inheritance relationship among them. The complication leads to incorrect function call signatures (see bug 1024789). The kwargs magic is also never used, and discarded during rpc calls anyway. This patch makes the call signature exactly the same for all deallocate_fixed_ip() definitions, drops kwargs and fixes bug 1024789. Change-Id: I9c139810d4a5c93fa9f50b89a07bfe44e73e6c8a
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions