Use the compute_rpcapi instance not the module

compute_rpcapi.get_console_pool_info is only available from
the ComputeAPI object, not nova.compute.rpcapi module.

Partially fix bug 1037183

Change-Id: I57df710389bf349c7ba1dd7980105222918bff92
This commit is contained in:
Yun Mao 2012-08-24 17:12:13 -04:00
parent 4b7c87a17a
commit 0796d91e68
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ class ConsoleProxyManager(manager.Manager):
'username': 'test',
'password': '1234pass'}
else:
pool_info = compute_rpcapi.get_console_pool_info(context,
pool_info = self.compute_rpcapi.get_console_pool_info(context,
console_type, instance_host)
pool_info['password'] = self.driver.fix_pool_password(
pool_info['password'])