Skip to content

Commit

Permalink
Use the compute_rpcapi instance not the module
Browse files Browse the repository at this point in the history
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
  • Loading branch information
maoy committed Aug 24, 2012
1 parent 4b7c87a commit 0796d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nova/console/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def get_pool_for_instance_host(self, context, instance_host):
'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'])
Expand Down

0 comments on commit 0796d91

Please sign in to comment.