From a2e4c2c0a4758e1ecf26ca0e6e37e18c65ad2d61 Mon Sep 17 00:00:00 2001 From: Dan Smith Date: Tue, 12 Feb 2013 16:00:55 -0500 Subject: Fix passing conductor to get_instance_nw_info() The recent metadata patch missed this one spot, which wasn't caught because the network stubs weren't updated for the signature change. Fixes bug 1123435 Change-Id: Iebeb98bba62189476af2c0b85615ea407a8b2ecd --- nova/tests/fake_network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nova/tests') diff --git a/nova/tests/fake_network.py b/nova/tests/fake_network.py index 883466cd6..5de72b58d 100644 --- a/nova/tests/fake_network.py +++ b/nova/tests/fake_network.py @@ -372,7 +372,7 @@ def stub_out_nw_api_get_instance_nw_info(stubs, func=None, floating_ips_per_fixed_ip=0, spectacular=False): - def get_instance_nw_info(self, context, instance): + def get_instance_nw_info(self, context, instance, conductor_api=None): return fake_get_instance_nw_info(stubs, num_networks=num_networks, ips_per_vif=ips_per_vif, floating_ips_per_fixed_ip=floating_ips_per_fixed_ip, -- cgit