Skip to content

Commit 4ea2395

Browse files
zhuflstephenfin
authored andcommitted
Remove conductor_api and _last_host_check from manager.py
conductor_api and _last_host_check are not used in manager.py, so this is to remove them. Part of blueprint remove-cells-v1 Change-Id: I9f52b84e00c92d7734690d115e2b5e8f9c788f15
1 parent 817dcc8 commit 4ea2395

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

nova/compute/manager.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,13 +496,11 @@ def __init__(self, compute_driver=None, *args, **kwargs):
496496
self.network_api = network.API()
497497
self.volume_api = cinder.API()
498498
self.image_api = image.API()
499-
self._last_host_check = 0
500499
self._last_bw_usage_poll = 0
501500
self._bw_usage_supported = True
502501
self._last_bw_usage_cell_update = 0
503502
self.compute_api = compute.API()
504503
self.compute_rpcapi = compute_rpcapi.ComputeAPI()
505-
self.conductor_api = conductor.API()
506504
self.compute_task_api = conductor.ComputeTaskAPI()
507505
self.is_neutron_security_groups = (
508506
openstack_driver.is_neutron_security_groups())

0 commit comments

Comments
 (0)